/* 
    Gastonia House - Forest & Bronze Luxury Stylesheet
    Colors: Warm Ivory (#FAF9F6), Forest Green (#2E473B), Matte Bronze (#9C845E), Deep Charcoal (#1A1A1A), Soft Sage (#D4DED9)
*/

:root {
    --ivory: #FAF9F6;
    --forest: #2E473B;
    --bronze: #9C845E;
    --charcoal: #1A1A1A;
    --sage: #D4DED9;
    --white: #FFFFFF;
    --text: #4A4A4A;
    --transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Jost', sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.section { padding: 140px 0; }
.section-sm { padding: 70px 0; }
.bg-ivory { background: var(--ivory); }
.bg-forest { background: var(--forest); color: var(--white); }
.text-center { text-align: center; }

/* Page Loader */
#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--ivory);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader-wrap { text-align: center; }
.loader-leaf {
    width: 50px;
    height: 50px;
    background: var(--forest);
    border-radius: 0 100% 0 100%;
    margin: 0 auto 20px;
    animation: leafSway 2s infinite alternate ease-in-out;
}

@keyframes leafSway {
    from { transform: rotate(-15deg); }
    to { transform: rotate(15deg); }
}

.loader-text { font-size: 13px; letter-spacing: 6px; font-weight: 500; color: var(--forest); }

/* Scroll Progress Bar */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--bronze);
    z-index: 1001;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 0;
    transition: var(--transition);
}

header.sticky {
    background: rgba(250, 249, 246, 0.95);
    padding: 12px 0;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    letter-spacing: 1px;
    color: var(--forest);
}

.site-logo span b { color: var(--bronze); }

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li { margin: 0 15px; }
.nav-menu a {
    text-decoration: none;
    color: var(--charcoal);
    font-weight: 500;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 32px;
    text-decoration: none;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    border-radius: 8px;
}

.btn-forest {
    background: var(--forest);
    color: var(--white);
}

.btn-forest:hover {
    background: var(--bronze);
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(46, 71, 59, 0.2);
}

.btn-outline-white {
    border: 1px solid var(--white);
    color: var(--white);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--forest);
}

.btn-block { width: 100%; }

/* Hero */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/images/hero.jpg') center/cover no-repeat;
    z-index: -1;
}

.hero-overlay-grad {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(26, 26, 26, 0.3) 100%);
}

.hero-shapes .shape {
    position: absolute;
    border: 1px solid rgba(255,255,255,0.1);
    animation: shapeFloat 25s infinite alternate ease-in-out;
}

.s1 { width: 400px; height: 400px; top: -10%; right: -5%; border-radius: 40% 60% 30% 70% / 60% 30% 70% 40%; }
.s2 { width: 300px; height: 300px; bottom: 5%; left: -5%; border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%; }

@keyframes shapeFloat {
    to { transform: translate(-50px, 50px) rotate(90deg); border-radius: 50%; }
}

.hero-container { position: relative; z-index: 1; color: var(--white); }

.hero-text-content h1 {
    font-size: 60px;
    line-height: 1.2;
    margin-bottom: 25px;
    max-width: 800px;
}

.hero-text-content p {
    font-size: 19px;
    margin-bottom: 40px;
    max-width: 600px;
    font-weight: 300;
    opacity: 0.9;
}

.hero-btn-group { display: flex; gap: 15px; margin-bottom: 60px; }

.hero-trust-badges { display: flex; gap: 30px; }
.t-badge { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.t-badge::before { content: '◈'; color: var(--bronze); margin-right: 8px; }

.scroll-down-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mouse {
    width: 20px;
    height: 35px;
    border: 2px solid var(--white);
    border-radius: 10px;
    margin: 0 auto 10px;
    position: relative;
}

.mouse::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 6px;
    background: var(--white);
    animation: mouseScroll 1.5s infinite;
}

@keyframes mouseScroll {
    to { top: 15px; opacity: 0; }
}

/* Stats */
.stats-grid { display: flex; justify-content: space-between; text-align: center; }
.stat-box h2 { font-size: 60px; color: var(--bronze); margin-bottom: 5px; }

/* About */
.about-flex { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.section-heading { font-size: 52px; margin-bottom: 30px; color: var(--forest); }
.lead-text { font-size: 22px; font-weight: 500; margin-bottom: 25px; color: var(--bronze); }

.specialties-grid { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.spec-card {
    padding: 15px 20px;
    background: var(--ivory);
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
    border-bottom: 3px solid var(--forest);
}

.organic-frame { position: relative; padding: 30px; }
.organic-frame img { width: 100%; border-radius: 40px 10px 40px 10px; position: relative; z-index: 1; }
.frame-blob {
    position: absolute;
    top: 0;
    right: 0;
    width: 90%;
    height: 90%;
    background: var(--forest);
    border-radius: 50%;
    z-index: 0;
    opacity: 0.05;
}

/* Services */
.services-masonry { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 70px; }
.service-item {
    background: var(--white);
    padding: 50px 35px;
    border-radius: 15px;
    transition: var(--transition);
}

.service-item:hover { transform: translateY(-12px); box-shadow: 0 30px 60px rgba(0,0,0,0.04); }
.service-icon { color: var(--bronze); margin-bottom: 25px; }
.service-item h3 { font-size: 20px; margin-bottom: 12px; }
.service-cta {
    display: inline-block;
    margin-top: 25px;
    text-decoration: none;
    color: var(--forest);
    font-weight: 700;
    font-size: 11px;
}

/* Comparison Slider */
.comparison-slider-box {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    margin-top: 70px;
}

.before-img, .after-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.before-img img, .after-img img { width: 100%; height: 100%; object-fit: cover; }
.after-img { width: 50%; overflow: hidden; z-index: 1; }

.slider-control {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: var(--white);
    z-index: 2;
    cursor: ew-resize;
}

.control-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 44px;
    height: 44px;
    background: var(--white);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Gallery */
.masonry-gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-top: 70px; }
.gallery-card { height: 350px; border-radius: 15px; overflow: hidden; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.gallery-card:hover img { transform: scale(1.1); }

/* Process */
.process-timeline { display: flex; justify-content: space-between; margin-top: 90px; }
.timeline-item { text-align: center; width: 22%; }
.timeline-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 48px;
    color: var(--forest);
    margin-bottom: 15px;
    opacity: 0.4;
}

/* Reviews */
.testimonial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 70px; }
.testimonial-card { padding: 50px; background: var(--white); border-radius: 15px; }
.stars-row { color: var(--bronze); margin-bottom: 20px; }
.testimonial-card p { font-size: 24px; font-family: 'Cormorant Garamond', serif; font-style: italic; margin-bottom: 25px; }

/* Contact */
.contact-flex { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; }
.input-field { margin-bottom: 20px; }
input, textarea {
    width: 100%;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #EEEEEE;
    background: #FAFAFA;
    font-family: inherit;
}

.contact-details-box { background: var(--sage); padding: 50px; border-radius: 20px; margin-bottom: 40px; opacity: 0.8; }
.contact-details-box h4 { margin-bottom: 30px; color: var(--forest); }
.contact-details-box p { margin-bottom: 15px; font-size: 15px; }
.link-style { color: inherit; text-decoration: none; }

/* Footer */
footer { background: #0F0F0F; color: rgba(255,255,255,0.2); padding: 120px 0 60px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 80px; margin-bottom: 100px; }
.footer-info .site-logo { color: var(--white); margin-bottom: 30px; }
.footer-links h4, .footer-contact-info h4 { color: var(--white); margin-bottom: 40px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 15px; }
.footer-links a { color: inherit; text-decoration: none; font-size: 14px; }

.footer-bottom-bar { border-top: 1px solid rgba(255,255,255,0.03); padding-top: 60px; display: flex; justify-content: space-between; }
.back-to-top { color: var(--bronze); text-decoration: none; font-weight: 700; }

/* Floating CTA Buttons */
.floating-cta-buttons { position: fixed; bottom: 30px; right: 30px; display: flex; flex-direction: column; gap: 12px; z-index: 1000; }
.cta-btn { background: var(--forest); color: var(--white); padding: 16px 28px; border-radius: 40px; text-decoration: none; font-weight: 700; box-shadow: 0 8px 30px rgba(0,0,0,0.1); transition: var(--transition); }
.cta-quote { background: var(--bronze); }

/* Responsive */
@media (max-width: 1100px) {
    .hero-text-content h1 { font-size: 48px; }
    .services-masonry, .masonry-gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .site-nav { display: none; }
}

@media (max-width: 768px) {
    .about-flex, .contact-flex, .testimonial-grid, .footer-grid, .stats-grid { grid-template-columns: 1fr; }
    .process-timeline { flex-direction: column; gap: 40px; }
    .timeline-item { width: 100%; }
}
