
/* =========================================================
   GOOGLE FONTS
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600&family=Playfair+Display:wght@500;600;700&display=swap');


/* =========================================================
   ROOT VARIABLES
   ========================================================= */

:root {
    --primary-color: #1a1a1a;
    --accent-color: #c5a880;
    --light-bg: #f9f8f6;
    --text-color: #4a4a4a;
    --white: #ffffff;
    --transition: all 0.3s ease;
}


/* =========================================================
   RESET / GLOBAL
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);

    /* Keeps footer at the bottom */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
}


/* =========================================================
   REUSABLE CONTAINER
   ========================================================= */

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 80px 0;
}


/* =========================================================
   SECTION TITLE
   ========================================================= */

.section-title {
    text-align: center;
    margin-top: 0;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-top: 0;
    margin-bottom: 10px;
}

.section-title p {
    color: #777;
    margin: 0;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--accent-color);
    color: var(--white);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
    background-color: var(--primary-color);
}


/* =========================================================
   HEADER / NAVBAR
   ========================================================= */

header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5px 3%;
    max-width: 1400px;
    margin: auto;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    width: 150px;
    height: auto;
    display: block;
}

.menu a {
    display: flex;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    color: black;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.nav-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    text-decoration: none;
    color: black;
    font-size: 0.88rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color:#000000;
}


/* =========================================================
   SEARCH BOX
   ========================================================= */

.nav-search {
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 3px 6px 3px 14px;
    background-color: #fcfcfc;
    transition: var(--transition);
}

.nav-search:focus-within {
    border-color: var(--accent-color);
    background-color: var(--white);
    box-shadow: 0 0 5px rgba(197, 168, 128, 0.3);
}

.nav-search input {
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.82rem;
    font-family: inherit;
    width: 120px;
    transition: var(--transition);
}

.nav-search input:focus {
    width: 170px;
}

.nav-search button {
    border: none;
    background: transparent;
    color: var(--primary-color);
    cursor: pointer;
    padding: 5px 8px;
    font-size: 0.85rem;
    transition: var(--transition);
}

.nav-search button:hover {
    color: var(--accent-color);
}

.menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* =========================================================
HERO SECTION
========================================================= */

.hero {
height: 100vh;
background: url("DREAMFLUTTERDESIGN1.png");
background-size: cover;
background-position: center;
background-repeat: no-repeat;
position: relative;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
color: var(--white);
}

.hero .overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.45);
}

.hero-content {
position: relative;
z-index: 1;
max-width: 800px;
padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: #f3eadc;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    font-weight: 300;
    color: #ffffff;
}


/* =========================================================
   ABOUT SECTION
   ========================================================= */

.about .container {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about-img,
.about-text {
    flex: 1;
}

.about-img img {
    width: 100%;
    border-radius: 4px;
}

.about-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.stats {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--accent-color);
}


/* =========================================================
   SERVICES SECTION
   ========================================================= */

.services-section {
    text-align: center;
    padding: 0;
}

.services-section .container {
    padding-top: 30px;
    padding-bottom: 30px;
}

.services-section h2 {
    text-align: center;
    margin: 0 auto 10px;
    color: teal;
    font-size: 30px;
}

.services-section .subtitle {
    text-align: center;
    margin: 0 auto 30px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    padding: 40px 30px;
    border: 1px solid #eee;
    text-align: center;
    transition: var(--transition);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}


/* =========================================================
   SERVICE CARD BUTTON
   ========================================================= */

.service-card .book-btn {
    margin-top: 15px;
    padding: 10px 20px;
    background-color: skyblue;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s ease;
}

.service-card .book-btn:hover {
    background-color: #a88340;
}


/* =========================================================
   PORTFOLIO SECTION
   ========================================================= */

.portfolio {
    background-color: #f6f0e7;
}

.portfolio .container {
    padding-top: 50px;
    padding-bottom: 40px;
}

.portfolio .section-title {
    margin-top: 0;
    margin-bottom: 25px;
}

.portfolio .section-title h2 {
    color: teal;
    font-size: 30px;
    margin-top: 0;
    margin-bottom: 8px;
}

.portfolio .section-title p {
    max-width: 650px;
    margin: 0 auto;
    color: #777;
}


/* =========================================================
   PORTFOLIO FILTER BUTTONS
   ========================================================= */

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 28px;
    border: 1px solid #c5a880;
    background-color: #d8c09a;
    color: #1a1a1a;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.filter-btn.active,
.filter-btn:hover {
    background-color: #c5a880;
    color: var(--white);
}


/* =========================================================
   PORTFOLIO GRID
   ========================================================= */

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.portfolio-item {
    position: relative;
}


/* =========================================================
   PORTFOLIO CARDS
   ========================================================= */

.portfolio-card {
    position: relative;
    min-height: 260px;
    padding: 35px;
    background-color: #e3cfad;
    border: 1px solid #c9ad82;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    transition: var(--transition);
}


/* Decorative Corner */

.portfolio-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 110px;
    height: 110px;
    border-left: 1px solid #dfcfb8;
    border-bottom: 1px solid #dfcfb8;
    opacity: 0.5;
}


/* Portfolio Number */

.portfolio-number {
    position: absolute;
    top: 25px;
    left: 30px;
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: #c5a880;
}


/* Portfolio Category */

.portfolio-category {
    position: relative;
    margin-bottom: 10px;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #b08d57;
}


/* Portfolio Title */

.portfolio-card h3 {
    position: relative;
    font-size: 1.7rem;
    color: #1a1a1a !important;
    margin-bottom: 10px;
}


/* Portfolio Description */

.portfolio-card p {
    position: relative;
    max-width: 500px;
    color: #555;
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 18px;
}


/* Portfolio Status */

.portfolio-status {
    position: relative;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #777;
}


/* Portfolio Hover */

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--accent-color);
}


/* =========================================================
   CONTACT SECTION
   ========================================================= */

.contact {
    background-color: var(--white);
    padding-top: 30px !important;
    padding-bottom: 30px !important;
}


/* Remove general container padding from Contact */

.contact .container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.contact .section-title {
    margin-top: 0 !important;
    margin-bottom: 15px !important;
  
}

.contact .section-title h2 {
    margin-top: 0 !important;
    margin-bottom: 5px !important;
    color:teal !important;
    font-size: 30px;
}

.contact .section-title p {
    margin-top: 0 !important;
    margin-bottom: 10px !important;
}


/* =========================================================
   CONTACT FORM
   ========================================================= */

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    display: flex;
    gap: 20px;
}

.input-group input {
    flex: 1;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: 1px solid #ddd;
    outline: none;
    font-family: inherit;
    font-size: 0.9rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent-color);
}


/* =========================================================
   HIDDEN NETLIFY HONEYPOT FIELD
   ========================================================= */

.hidden-field {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
    background-color: var(--primary-color);
    color: #888;
    text-align: center;
    padding: 30px 0;
    font-size: 0.85rem;
    margin-top: auto;
    margin-bottom: 0 !important;
    width: 100%;
}


/* =========================================================
   MODAL POPUP
   ========================================================= */

.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.modal-content {
    background-color: #ffffff;
    margin: 5% auto;
    padding: 30px;
    border-radius: 8px;
    max-width: 480px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #888;
}

.close-modal:hover {
    color: #000;
}


/* =========================================================
   APPOINTMENT FORM
   ========================================================= */

.appointment-form .form-group {
    margin-bottom: 15px;
}

.appointment-form label {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
    font-weight: bold;
}

.appointment-form input,
.appointment-form select,
.appointment-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-family: inherit;
}


/* =========================================================
   RESPONSIVE MOBILE NAVIGATION
   ========================================================= */

@media (max-width: 900px) {

    .menu-btn {
        display: block;
    }

    .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    flex-direction: column;
    align-items: center;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    transition: max-height 0.4s ease, padding 0.4s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.nav-links.active {
    max-height: 400px;
    padding: 25px 0;
}

    .nav-links {
        flex-direction: column;
        align-items: center;
    }

    .nav-links li {
        margin: 12px 0;
    }

    .about .container {
        flex-direction: column;
    }

    .hero-content h1 {
        font-size: 2.3rem;
    }

    .input-group {
        flex-direction: column;
    }

    .contact .container {
        padding-top: 0 !important;
        padding-bottom: 20px !important;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-card {
        min-height: 280px;
        padding: 30px;
    }

    .portfolio-card h3 {
        font-size: 1.5rem;
    }

    .portfolio .section-title h2 {
        font-size: 28px;
    }
}

footer {
    margin-top: auto !important;
    margin-bottom: 0 !important;
}
.nav-links a {
    color: #000000;
}