/* 
   Hillock - Luxury Weekend Homes
   Premium Real Estate Theme
*/

:root {
    --primary-color: #2F4F2F;
    /* Deep Forest Green */
    --secondary-color: #4C8C4C;
    /* Leaf Green */
    --secondary-hover: #3A6B3A;
    --text-color: #2C2C2C;
    /* Dark Charcoal */
    --text-light: #666666;
    --bg-white: #FFFFFF;
    --bg-off-white: #F9F8F6;
    --bg-dark: #1a1a1a;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 32px;
    --spacing-lg: 64px;
    --spacing-xl: 100px;

    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 15px rgba(0, 0, 0, 0.1);
    --radius: 8px;
}

/* Resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.2;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-desc {
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

.text-center {
    text-align: center;
}

.text-white {
    color: #fff !important;
}

.text-muted {
    color: #888;
    font-size: 0.9rem;
}

.bg-light {
    background-color: var(--bg-off-white);
}

.bg-dark {
    background-color: var(--primary-color);
    color: #fff;
}

/* Wrapper & Containers */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.section {
    padding: var(--spacing-lg) 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    /* Slightly squarish for premium feel */
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: #fff;
    border-color: var(--secondary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-hover);
    border-color: var(--secondary-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-outline:hover {
    background-color: #fff;
    color: var(--text-color);
    transform: translateY(-2px);
}

.btn-gold {
    background: linear-gradient(135deg, var(--secondary-color), #66A666);
    color: white;
    box-shadow: 0 4px 15px rgba(76, 140, 76, 0.4);
}

.btn-gold:hover {
    box-shadow: 0 6px 20px rgba(76, 140, 76, 0.6);
    transform: translateY(-2px);
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 50px;
    /* Adjust based on preference */
    width: auto;
    mix-blend-mode: multiply;
}

.desktop-nav ul {
    display: flex;
    gap: 30px;
}

.desktop-nav a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
    position: relative;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s;
}

.desktop-nav a:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav {
    display: none;
    /* JS will toggle */
    background: #fff;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    box-shadow: var(--shadow-md);
    padding: 1rem 0;
}

.mobile-nav ul {
    flex-direction: column;
    text-align: center;
}

.mobile-nav li {
    margin: 10px 0;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background: url('../assets/images/hero-v2.jpg') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    /* Offset for fixed header */
}

/* Fallback if image fails or before loading */
.hero {
    background-color: var(--primary-color);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Darkens background for text readability */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeIn Up 1s ease-out;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #f0f0f0;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Cards & Grid */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.feature-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s;
    border-top: 3px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-top-color: var(--secondary-color);
}

.icon-box {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

/* Amenities */
.amenity-grid {
    margin-top: 40px;
}

.amenity-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-off-white);
    padding: 30px;
    border-radius: var(--radius);
    transition: 0.3s;
}

.amenity-item:hover {
    background: #fff;
    box-shadow: var(--shadow-sm);
    transform: translateY(-5px);
}

.amenity-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.amenity-item span {
    font-weight: 600;
    color: var(--text-color);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    height: 300px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Lead Gen Form */
.lead-gen-section {
    background: linear-gradient(rgba(47, 79, 47, 0.9), rgba(47, 79, 47, 0.9)), url('../assets/images/hero.png') center/cover;
    color: white;
    padding: 80px 0;
}

.form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.form-wrapper h2 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 2rem;
}

.form-wrapper p {
    color: #eee;
    margin-bottom: 30px;
}

.enquiry-form .form-group {
    margin-bottom: 20px;
}

.enquiry-form input,
.enquiry-form textarea {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
}

.enquiry-form input:focus,
.enquiry-form textarea:focus {
    outline: 2px solid var(--secondary-color);
}

.enquiry-form button {
    width: 100%;
    font-size: 1.1rem;
}

/* Location */
.location-content {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.location-list {
    text-align: left;
}

.location-list li {
    font-size: 1.2rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.location-list i {
    color: var(--secondary-color);
    margin-right: 15px;
}

/* Contact Details */
.contact-methods {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.contact-box {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px 30px;
    border-radius: var(--radius);
    transition: 0.3s;
}

.contact-box:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Footer */
footer {
    background: #111;
    color: #777;
    padding: 40px 0;
    text-align: center;
}

.footer-logo {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

/* Mobile Call Button */
.mobile-call-btn {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--secondary-color);
    color: #fff;
    text-align: center;
    padding: 15px;
    font-size: 1.2rem;
    font-weight: 600;
    z-index: 2000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .mobile-nav.active {
        display: block;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .contact-methods {
        flex-direction: column;
        gap: 20px;
    }

    .mobile-call-btn {
        display: block;
    }

    footer {
        padding-bottom: 80px;
        /* Space for mobile btn */
    }
}

/* Hero Highlights */
.hero-highlights {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.hero-highlights span {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    padding: 10px 20px;
    border-radius: 50px;
    color: #fff;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-highlights i {
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    .hero-highlights span {
        font-size: 0.9rem;
        padding: 8px 15px;
    }
}