/* ===================================
   THE RUSTIC ROUTE LLC - STYLES
   Forest Green & Off-White Theme
   =================================== */

/* --- CSS Custom Properties --- */
:root {
    --forest-dark: #1a3a2a;
    --forest-primary: #2F4F4F;
    --forest-medium: #3d6b5a;
    --forest-light: #5a8a72;
    --forest-pale: #e8f0eb;
    --off-white: #F4F7F2;
    --cream: #FAFCF8;
    --warm-gray: #6b7280;
    --dark-text: #1f2937;
    --medium-text: #4b5563;
    --light-text: #9ca3af;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(47, 79, 79, 0.08);
    --shadow-md: 0 4px 16px rgba(47, 79, 79, 0.10);
    --shadow-lg: 0 8px 32px rgba(47, 79, 79, 0.12);
    --shadow-xl: 0 16px 48px rgba(47, 79, 79, 0.14);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--dark-text);
    background-color: var(--off-white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'DM Serif Display', Georgia, serif;
    font-weight: 400;
    line-height: 1.25;
    color: var(--forest-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

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

.btn-primary:hover {
    background: var(--forest-dark);
    border-color: var(--forest-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--forest-primary);
    border-color: var(--forest-primary);
}

.btn-secondary:hover {
    background: var(--forest-primary);
    color: var(--white);
    transform: translateY(-2px);
}

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

.btn-white:hover {
    background: var(--forest-pale);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.6);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--forest-primary);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* --- Section Shared --- */
.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--forest-light);
    background: var(--forest-pale);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--medium-text);
    max-width: 600px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(244, 247, 242, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(47, 79, 79, 0.08);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'DM Serif Display', serif;
    font-size: 1.25rem;
    color: var(--forest-dark);
}

.logo-icon {
    display: flex;
    align-items: center;
    color: var(--forest-primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--medium-text);
}

.nav-links a:hover {
    color: var(--forest-primary);
    background: var(--forest-pale);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--forest-primary);
}

/* --- Mobile Menu --- */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(26, 58, 42, 0.5);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 280px;
    background: var(--cream);
    padding: 80px 32px 32px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-xl);
}

.mobile-menu-overlay.active .mobile-menu-content {
    transform: translateX(0);
}

.mobile-nav-link {
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--dark-text);
}

.mobile-nav-link:hover {
    background: var(--forest-pale);
    color: var(--forest-primary);
}

.mobile-cta {
    margin-top: 16px;
    background: var(--forest-primary);
    color: var(--white) !important;
    text-align: center;
    border-radius: var(--radius-md);
}

.mobile-cta:hover {
    background: var(--forest-dark);
}

/* --- Hero --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    background: var(--off-white);
    position: relative;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(47, 79, 79, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(90, 138, 114, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 60% 60%, rgba(47, 79, 79, 0.03) 0%, transparent 40%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
}

.hero-content {
    max-width: 560px;
}

.hero-title {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--forest-dark);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--medium-text);
    margin-bottom: 36px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--forest-medium);
}

.trust-item svg {
    color: var(--forest-light);
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 2;
}

.hero-image-card img {
    width: 100%;
    height: 620px;
    object-fit: cover;
    display: block;
}

.hero-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    z-index: 3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--off-white);
}

.hero-image-accent img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* --- Services --- */
.services {
    padding: 100px 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--off-white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(47, 79, 79, 0.1);
    background: var(--white);
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--forest-pale);
    color: var(--forest-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--forest-primary);
    color: var(--white);
}

.service-card h3 {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--forest-dark);
}

.service-card p {
    font-size: 0.95rem;
    color: var(--medium-text);
    line-height: 1.7;
}

/* --- About --- */
.about {
    padding: 100px 0;
    background: var(--off-white);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-group {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-img-main img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    display: block;
}

.about-img-secondary {
    position: absolute;
    bottom: -30px;
    right: -30px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--off-white);
}

.about-img-secondary img {
    width: 240px;
    height: 300px;
    object-fit: cover;
    display: block;
}

.about-experience-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    background: var(--forest-primary);
    color: var(--white);
    padding: 20px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.about-experience-badge .exp-number {
    display: block;
    font-family: 'DM Serif Display', serif;
    font-size: 1.6rem;
    line-height: 1;
    margin-bottom: 4px;
}

.about-experience-badge .exp-text {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.85;
    line-height: 1.3;
}

.about-content .section-title {
    margin-bottom: 24px;
}

.about-text {
    font-size: 1.05rem;
    color: var(--medium-text);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-values {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.value-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.value-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: var(--radius-sm);
    background: var(--forest-pale);
    color: var(--forest-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-item strong {
    display: block;
    font-size: 1rem;
    color: var(--forest-dark);
    margin-bottom: 2px;
}

.value-item span {
    font-size: 0.9rem;
    color: var(--medium-text);
    line-height: 1.5;
}

/* --- Gallery --- */
.gallery {
    padding: 100px 0;
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
}

.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 58, 42, 0.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
}

.gallery-item--large {
    grid-column: span 7;
}

.gallery-item:not(.gallery-item--large) {
    grid-column: span 5;
}

.gallery-item:nth-child(1) { grid-row: 1; }
.gallery-item:nth-child(2) { grid-row: 2; }
.gallery-item:nth-child(3) { grid-row: 1; }
.gallery-item:nth-child(4) { grid-row: 2; }
.gallery-item:nth-child(5) { grid-row: 2; }

/* --- CTA --- */
.cta {
    padding: 80px 0;
    background: var(--forest-primary);
    position: relative;
    overflow: hidden;
}

.cta-card {
    position: relative;
    background: var(--forest-dark);
    border-radius: var(--radius-xl);
    padding: 72px 60px;
    overflow: hidden;
}

.cta-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 10% 90%, rgba(90, 138, 114, 0.3) 0%, transparent 40%),
        radial-gradient(circle at 90% 10%, rgba(90, 138, 114, 0.2) 0%, transparent 40%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    color: var(--white);
    margin-bottom: 16px;
}

.cta-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 36px;
    line-height: 1.8;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

/* --- Contact --- */
.contact {
    padding: 100px 0;
    background: var(--off-white);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info .section-title {
    margin-bottom: 16px;
}

.contact-text {
    font-size: 1.05rem;
    color: var(--medium-text);
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: var(--radius-md);
    background: var(--forest-pale);
    color: var(--forest-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-detail strong {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--forest-medium);
    margin-bottom: 4px;
}

.contact-detail p, .contact-detail a {
    font-size: 1rem;
    color: var(--dark-text);
    line-height: 1.6;
}

.contact-detail a:hover {
    color: var(--forest-primary);
}

/* --- Form --- */
.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 44px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(47, 79, 79, 0.06);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--dark-text);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 18px;
    border: 2px solid rgba(47, 79, 79, 0.12);
    border-radius: var(--radius-md);
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.95rem;
    color: var(--dark-text);
    background: var(--off-white);
    transition: var(--transition);
    outline: none;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--forest-primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(47, 79, 79, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--light-text);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    gap: 16px;
}

.form-success.active {
    display: flex;
}

.success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--forest-pale);
    color: var(--forest-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-success h3 {
    font-size: 1.5rem;
    color: var(--forest-dark);
}

.form-success p {
    color: var(--medium-text);
    margin-bottom: 8px;
}

/* --- Footer --- */
.footer {
    background: var(--forest-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 16px;
}

.footer-brand .logo-icon {
    color: var(--forest-light);
}

.footer-tagline {
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.95rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
}

.footer-bottom p {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-trust {
        justify-content: center;
    }
    
    .hero-image-wrapper {
        max-width: 480px;
        margin: 0 auto;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .about-image-group {
        max-width: 480px;
        margin: 0 auto;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }
    
    .hero-image-card img {
        height: 400px;
    }
    
    .hero-image-accent {
        width: 140px;
        height: 140px;
        bottom: -10px;
        right: -10px;
    }
    
    .hero-image-accent img {
        width: 140px;
        height: 140px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item--large,
    .gallery-item:not(.gallery-item--large) {
        grid-column: span 1;
    }
    
    .gallery-item {
        height: 260px;
    }
    
    .cta-card {
        padding: 48px 28px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 28px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .about-img-secondary {
        right: -10px;
        bottom: -10px;
    }
    
    .about-img-secondary img {
        width: 160px;
        height: 200px;
    }
    
    .about-experience-badge {
        top: -10px;
        left: -10px;
        padding: 14px 18px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
}
