/* --- VARIABLES & RESET --- */
:root {
    --primary-green: #3E5E3E; /* Three Kings Green */
    --light-bg: #F9F9F7;      /* Warm white like Wave Hill */
    --text-dark: #2C2C2C;
    --text-light: #fff;
    --font-serif: 'Playfair Display', serif; /* Wave Hill style headings */
    --font-sans: 'Lato', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #fff;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
img { max-width: 100%; display: block; }

/* --- SIDE LINK (Mann Made Creations) --- */
.side-link {
    position: fixed;
    bottom: 40px; 
    left: 0;
    z-index: 9999;
    
    /* Make text vertical naturally */
    writing-mode: vertical-rl;
    text-orientation: mixed;
    
    /* Flip it so it reads bottom-to-top */
    transform: rotate(180deg);
    
    /* Background: Black with transparency */
    background-color: rgba(0, 0, 0, 0.2);
    
    color: #fff;
    padding: 20px 10px;
    text-decoration: none;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    
    /* Slight shadow */
    box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;

    /* Animation: Start off-screen and slide in */
    left: -60px; 
    animation: slideInSide 0.8s ease-out 1s forwards; 
}

@keyframes slideInSide {
    to { left: 0; }
}

/* --- HEADER --- */
.main-header {
    background: #fff;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.top-bar {
    background-color: var(--primary-green);
    color: #fff;
    text-align: center;
    padding: 8px;
    font-size: 0.9rem;
    letter-spacing: 1px;
}
.phone-number { margin-left: 20px; font-weight: bold; }

.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.left-nav a, .right-nav a {
    margin: 0 25px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.left-nav a:hover, .right-nav a:hover { color: var(--primary-green); }

.logo-wrapper { margin: 0 30px; }
.main-logo { height: 80px; } /* Adjust based on your logo file */
.mobile-menu-icon { display: none; font-size: 1.5rem; }

/* --- HERO SECTION (Refined) --- */
:root {
    --accent-green: #9CB046; /* Olive Green */
}

.hero-section {
    position: relative;
    /* Force pure white background to fix the "off-white" gap */
    background-color: #ffffff; 
    padding-bottom: 80px; 
    overflow: hidden; 
}

/* The Light Green Block on the Right */
.hero-green-accent {
    position: absolute;
    top: 80px; /* Starts lower than the image */
    right: 0;
    width: 50%; /* Slightly wider */
    
    /* CALCULATION: 
       Image is 75vh tall. 
       We want this box to end 50px (1 inch) BELOW the image.
       Math: (60vh + 40px) - 120px (top offset) */
    height: calc(80vh - 75px); 
    
    background-color: var(--accent-green);
    z-index: 1;
}

.hero-container {
    position: relative;
    max-width: 100%; /* Use full width */
    margin: 0;
    z-index: 2;
}

.hero-image-container {
    /* WIDER: 97% width means it stops very close to the right edge */
    width: 97%; 
    height: 75vh;
    overflow: hidden;
    position: relative;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* The White Content Box */
.hero-content-card {
    background: #ffffff; /* Pure white */
    max-width: 750px;
    padding: 50px 50px;
    
    /* Overlap positioning */
    margin-top: -150px; 
    margin-left: 5%; 
    
    position: relative;
    z-index: 10;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.decorative-line {
    display: block;
    width: 60px;
    height: 2px;
    background: #333;
    margin-bottom: 30px;
}

.hero-content-card h1 {
    font-family: var(--font-serif);
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-dark);
    font-weight: 400;
}

.hero-content-card p {
    color: #555;
    margin-bottom: 40px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.btn-primary {
    display: inline-block;
    background-color: transparent;
    color: var(--text-dark);
    border: 1px solid var(--text-dark);
    padding: 15px 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    font-weight: 600;
}
.btn-primary:hover { 
    background-color: var(--text-dark); 
    color: #fff;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .hero-image-container { width: 100%; height: 50vh; }
    .hero-green-accent { display: none; }
    .hero-content-card {
        margin: 0;
        max-width: 100%;
        padding: 40px 20px;
        box-shadow: none;
    }
}

/* --- ABOUT SECTION --- */
.about-section { padding: 80px 20px; }
.container { max-width: 1200px; margin: 0 auto; }

.split-layout {
    display: flex;
    align-items: center;
    gap: 60px;
}

.text-block { flex: 1; }
.image-block { flex: 1; }

.text-block h2 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    margin-bottom: 20px;
}
.text-link {
    display: inline-block;
    margin-top: 20px;
    color: var(--primary-green);
    font-weight: bold;
    border-bottom: 1px solid var(--primary-green);
}

/* --- SERVICES SECTION --- */
.services-section {
    background-color: var(--light-bg);
    padding: 100px 20px;
    text-align: center;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.service-item { transition: transform 0.3s; }
.service-item:hover { transform: translateY(-10px); }

.img-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px auto;
}
.img-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.service-item:hover .img-circle img { transform: scale(1.1); }

.service-item h3 {
    font-family: var(--font-serif);
    margin-bottom: 10px;
}

/* --- REVIEWS SECTION --- */
.reviews-section {
    background-color: #E8EBE8; /* Light green tint */
    padding: 80px 20px;
    text-align: center;
}

.review-card {
    background: #fff;
    max-width: 800px;
    margin: 20px auto;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.stars { color: #f1c40f; font-size: 1.2rem; margin-bottom: 15px; }
.review-card p { font-style: italic; margin-bottom: 15px; font-family: var(--font-serif); font-size: 1.2rem; }
.author { font-weight: bold; color: var(--primary-green); }

/* --- GALLERY SECTION --- */
.gallery-section {
    padding: 100px 20px;
    background-color: #fff;
    text-align: center;
}

.gallery-grid {
    display: grid;
    /* Creates a responsive grid: 3 columns on desktop, stacks on mobile */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    height: 350px; /* Fixed height for uniformity */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image fills the box without stretching */
    transition: transform 0.5s ease;
}

/* Subtle Zoom Effect on Hover */
.gallery-item:hover img {
    transform: scale(1.05);
}

/* --- CONTACT SECTION --- */
.contact-section { padding: 100px 20px; }
.contact-wrapper {
    display: flex;
    gap: 50px;
    background: var(--text-dark);
    color: #fff;
    padding: 60px;
}
.contact-info { flex: 1; }
.contact-form-container { flex: 1; }

.contact-info h2 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    margin-bottom: 30px;
}
.contact-info a { color: #fff; text-decoration: underline; }
.socials { margin-top: 30px; font-size: 1.5rem; }
.socials a { 
    margin-right: 20px; 
    text-decoration: none; /* This removes the underscore */
    border-bottom: none;   /* Extra safety to ensure no lines appear */
    display: inline-block; /* Ensures they sit correctly */
}

/* Form */
.form-group { margin-bottom: 20px; }
input, textarea {
    width: 100%;
    padding: 15px;
    background: transparent;
    border: none;
    border-bottom: 1px solid #777;
    color: #fff;
    font-family: inherit;
}
input:focus, textarea:focus { outline: none; border-bottom: 1px solid #fff; }

.btn-submit {
    background: #fff;
    color: var(--text-dark);
    padding: 12px 40px;
    border: none;
    text-transform: uppercase;
    cursor: pointer;
    font-weight: bold;
}

/* --- FOOTER --- */
.main-footer {
    background-color: #1a1a1a;
    color: #888;
    padding: 60px 20px;
    text-align: center;
}
.footer-logo img { width: 100px; margin: 0 auto 30px auto; opacity: 0.7; }
.footer-links { margin-bottom: 30px; }
.footer-links a { margin: 0 15px; color: #ccc; }

/* Styling for Legal Links (Terms & Privacy) */
.footer-legal a {
    color: #888;           /* Grey color (not blue) */
    text-decoration: none; /* No underline */
    font-size: 0.75rem;    /* Small font size */
    margin: 0 10px;        /* Spacing */
    transition: 0.3s;
}

/* Hover effect */
.footer-legal a:hover {
    color: #fff;           /* Turn white when hovered */
}

/* Ensure paragraph matches size */
.footer-legal p {
    font-size: 0.75rem;
    color: #888;
    margin-bottom: 10px;
}

/* --- ANIMATIONS --- */
.fade-in, .fade-in-up, .fade-in-left, .fade-in-right {
    opacity: 0;
    transition: 1s ease-out;
}
.visible { opacity: 1; transform: none; }
.fade-in-up { transform: translateY(40px); }
.visible.fade-in-up { transform: translateY(0); }
.fade-in-left { transform: translateX(-40px); }
.visible.fade-in-left { transform: translateX(0); }
.fade-in-right { transform: translateX(40px); }
.visible.fade-in-right { transform: translateX(0); }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .nav-container { justify-content: space-between; }
    .left-nav, .right-nav { display: none; } /* Hide menu on mobile for now */
    .mobile-menu-icon { display: block; }
    
    .hero-content-card { margin: -50px 20px 0 20px; }
    .split-layout, .contact-wrapper { flex-direction: column; padding: 30px; }
}

/* --- SECONDARY BUTTONS (See More / View More) --- */
.centered-btn-wrapper {
    text-align: center;
    margin-top: 50px;
}

.btn-secondary {
    display: inline-block;
    border: 2px solid var(--primary-green); /* Using the brand green */
    color: var(--primary-green);
    padding: 12px 30px;
    font-family: var(--font-sans);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    background: transparent;
}

.btn-secondary i {
    margin-left: 8px; /* Space between text and icon */
}

.btn-secondary:hover {
    background-color: var(--primary-green);
    color: #fff; /* Turns green with white text on hover */
    cursor: pointer;
}