/* ===================================
   Grace Resilviaa - Main Stylesheet
   Premium Brochure-Inspired Design
   =================================== */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Lato:wght@300;400;700&display=swap');

/* ===================================
   CSS Variables - Color Palette
   =================================== */
:root {
    /* Primary Colors from Brochure (Green & Gold Theme) */
    --primary-green: #0A5C36;
    /* Deep Emerald Green from logo/headers */
    --dark-green: #043820;
    --accent-gold: #C5A059;
    /* Gold from logo/accents */
    --light-gold: #E5C585;

    /* Backgrounds */
    --bg-cream: #F9F7F2;
    --bg-white: #FFFFFF;
    --bg-light-green: #E8F0EB;

    /* Text Colors */
    --text-dark: #1A1A1A;
    --text-grey: #555555;
    --text-white: #FFFFFF;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;

    /* Spacing */
    --section-padding: 80px 0;
    --container-max-width: 1200px;

    /* Transitions */
    --transition-smooth: all 0.3s ease;
}

/* ===================================
   Global Styles
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Styling */
section {
    padding: var(--section-padding);
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    color: var(--primary-green);
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent-gold);
    margin: 15px auto 0;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-grey);
    max-width: 700px;
    margin: 15px auto 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    border: none;
    border-radius: 0;
    /* Square edges for premium feel */
    cursor: pointer;
    transition: var(--transition-smooth);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.btn-primary {
    background-color: var(--primary-green);
    color: var(--text-white);
    border: 2px solid var(--primary-green);
}

.btn-primary:hover {
    background-color: var(--dark-green);
    border-color: var(--dark-green);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--accent-gold);
    color: var(--text-white);
    border: 2px solid var(--accent-gold);
}

.btn-secondary:hover {
    background-color: #b08d4d;
    border-color: #b08d4d;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
}

.btn-outline:hover {
    background-color: var(--primary-green);
    color: var(--text-white);
}

/* ===================================
   Header
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition-smooth);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-green);
    color: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    border: 2px solid var(--accent-gold);
}

.logo-text h1 {
    font-size: 1.5rem;
    margin: 0;
    color: var(--primary-green);
}

.logo-text span {
    display: block;
    font-family: var(--font-body);
    font-size: 0.7rem;
    color: var(--accent-gold);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    transition: var(--transition-smooth);
}

.nav-menu a:hover::after {
    width: 100%;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--primary-green);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    height: 90vh;
    /* Slightly taller for more impact */
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('../../img/grace resilviaa 78 Gurgaon.jpg') no-repeat center center/cover;
    background-attachment: fixed;
    /* Parallax effect for desktop */
    margin-top: 80px;
}

/* Mobile specific background adjustments */
@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 500px;
        background-attachment: scroll;
        /* Disable fixed background on mobile for performance */
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(10, 92, 54, 0.4), rgba(4, 56, 32, 0.6));
}

.hero-content {
    position: relative;
    z-index: 10;
    color: var(--text-white);
    max-width: 900px;
    padding: 0 20px;
}

.hero-tagline {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--accent-gold);
    background-color: rgba(0, 0, 0, 0.5);
    display: inline-block;
    padding: 10px 20px;
    margin-bottom: 20px;
    border: 1px solid var(--accent-gold);
}

.hero-title {
    color: var(--text-white);
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-weight: 300;
}

.hero-features-list {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-feature-item {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-green);
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ===================================
   Highlights Section
   =================================== */
.highlights {
    background-color: var(--bg-cream);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.highlight-card {
    background-color: var(--bg-white);
    padding: 40px 30px;
    border-bottom: 4px solid var(--accent-gold);
    transition: var(--transition-smooth);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.highlight-icon {
    width: 70px;
    height: 70px;
    background-color: var(--bg-light-green);
    color: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.highlight-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

/* ===================================
   Amenities Section
   =================================== */
.amenities {
    background-color: var(--bg-white);
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.amenity-item {
    text-align: center;
    padding: 30px;
    border: 1px solid #eee;
    transition: var(--transition-smooth);
}

.amenity-item:hover {
    border-color: var(--accent-gold);
    background-color: var(--bg-cream);
}

.amenity-icon {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 15px;
}

/* ===================================
   Pricing / Plans
   =================================== */
.pricing {
    background-color: var(--primary-green);
    color: var(--text-white);
    position: relative;
}

.pricing .section-title h2 {
    color: var(--text-white);
}

.pricing .section-title p {
    color: rgba(255, 255, 255, 0.8);
}

.pricing-card {
    background-color: var(--bg-white);
    color: var(--text-dark);
    max-width: 500px;
    margin: 0 auto;
    padding: 50px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    border: 10px solid rgba(255, 255, 255, 0.1);
    background-clip: padding-box;
}

.price-tag {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--primary-green);
    font-weight: 700;
    margin: 20px 0;
}

.plan-features li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.plan-features i {
    color: var(--accent-gold);
    margin-right: 10px;
}

/* ===================================
   Gallery
   =================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* ===================================
   Contact Form
   =================================== */
.contact {
    background-color: var(--bg-cream);
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--bg-white);
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-green);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    font-family: var(--font-body);
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
}

/* ===================================
   Footer
   =================================== */
.footer {
    background-color: var(--text-dark);
    color: var(--text-white);
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info h3 {
    color: var(--accent-gold);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #888;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .header-cta .btn {
        display: none;
    }

    .hero {
        height: auto;
        padding: 100px 0 50px;
    }

    .hero-features-list {
        flex-direction: column;
        gap: 10px;
    }
}