/* ========================================
   Rosebud Recycling — Classic & Elegant Theme
   Forest Green + Off-White Palette
======================================== */

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

:root {
    --forest-dark: #1a4d2e;
    --forest-mid: #2d6a4f;
    --forest-light: #40916c;
    --forest-pale: #a8c5a0;
    --off-white: #f4f1ea;
    --off-white-dark: #e8e4d9;
    --cream: #faf8f3;
    --text-dark: #1c2b1f;
    --text-mid: #3d5a3f;
    --text-light: #6b8a6e;
    --accent-gold: #c9a84c;
    --shadow-sm: 0 2px 8px rgba(26, 77, 46, 0.08);
    --shadow-md: 0 4px 20px rgba(26, 77, 46, 0.12);
    --shadow-lg: 0 8px 40px rgba(26, 77, 46, 0.16);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 400;
    line-height: 1.3;
    color: var(--text-dark);
}

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

a:hover {
    color: var(--forest-dark);
}

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

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

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--forest-dark);
    color: var(--off-white);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 1000;
    font-size: 0.875rem;
}

.skip-link:focus {
    top: 16px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-family: 'Lato', sans-serif;
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    transition: all var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: var(--forest-mid);
    border-color: var(--forest-mid);
    color: var(--off-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--off-white);
    border-color: var(--off-white);
}

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

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

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(244, 241, 234, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(26, 77, 46, 0.08);
    transition: all var(--transition);
}

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

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

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

.logo svg {
    flex-shrink: 0;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-menu a {
    font-size: 0.9375rem;
    color: var(--text-mid);
    font-weight: 400;
    position: relative;
    padding: 4px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--forest-dark);
    transition: width var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a:focus::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--forest-dark);
}

.nav-phone {
    background: var(--forest-dark);
    color: var(--off-white) !important;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.02em;
}

.nav-phone::after {
    display: none;
}

.nav-phone:hover {
    background: var(--forest-mid);
    color: var(--off-white) !important;
    transform: translateY(-1px);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--forest-dark);
    transition: all var(--transition);
    display: block;
}

.mobile-menu-btn[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a4d2e 0%, #2d6a4f 30%, #40916c 60%, #52b788 100%);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(45, 106, 79, 0.6) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(82, 183, 136, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(26, 77, 46, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

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

.hero-content {
    color: var(--off-white);
    padding: 40px 0;
}

.hero-eyebrow {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--forest-pale);
    margin-bottom: 20px;
}

.hero-headline {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    color: var(--off-white);
    margin-bottom: 24px;
    line-height: 1.15;
}

.hero-headline .accent {
    font-style: italic;
    color: var(--forest-pale);
}

.hero-subheadline {
    font-size: 1.125rem;
    line-height: 1.8;
    color: rgba(244, 241, 234, 0.85);
    margin-bottom: 40px;
    max-width: 520px;
}

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

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.hero-image-accent {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 200px;
    height: 200px;
    background: var(--off-white);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 0;
}

/* --- Section Styles --- */
.section-eyebrow {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--forest-mid);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-dark);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.0625rem;
    color: var(--text-mid);
    max-width: 600px;
    line-height: 1.7;
}

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

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

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

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

.service-card {
    background: var(--cream);
    border-radius: var(--radius-md);
    padding: 40px 32px;
    transition: all var(--transition);
    border: 1px solid rgba(26, 77, 46, 0.06);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(26, 77, 46, 0.12);
}

.service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 77, 46, 0.08);
    border-radius: var(--radius-md);
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

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

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

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

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

.about-image-wrapper img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.about-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 77, 46, 0.1) 0%, transparent 60%);
    border-radius: var(--radius-lg);
    pointer-events: none;
}

.about-content .section-eyebrow {
    margin-bottom: 12px;
}

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

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

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9375rem;
    color: var(--text-dark);
    font-weight: 700;
}

.value-item svg {
    flex-shrink: 0;
}

/* --- Process --- */
.process {
    padding: 100px 0;
    background: var(--forest-dark);
    color: var(--off-white);
}

.process .section-eyebrow {
    color: var(--forest-pale);
}

.process .section-title {
    color: var(--off-white);
}

.process .section-subtitle {
    color: rgba(244, 241, 234, 0.7);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.process-step {
    position: relative;
}

.step-number {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 400;
    color: rgba(168, 197, 160, 0.2);
    line-height: 1;
    margin-bottom: 16px;
}

.process-step h3 {
    font-size: 1.375rem;
    color: var(--off-white);
    margin-bottom: 12px;
}

.process-step p {
    font-size: 0.9375rem;
    color: rgba(244, 241, 234, 0.75);
    line-height: 1.7;
}

.process-step a {
    color: var(--forest-pale);
}

.process-step a:hover {
    color: var(--off-white);
}

/* --- Testimonial --- */
.testimonial {
    padding: 80px 0;
    background: var(--off-white);
}

.testimonial-content {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.quote-icon {
    margin-bottom: 24px;
    opacity: 0.3;
}

.testimonial blockquote {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 24px;
}

.testimonial-source {
    font-size: 0.9375rem;
    color: var(--text-light);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

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

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

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

.contact-intro {
    font-size: 1.0625rem;
    color: var(--text-mid);
    line-height: 1.7;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    gap: 16px;
}

.contact-item svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.0625rem;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.contact-item p,
.contact-item a {
    font-size: 0.9375rem;
    color: var(--text-mid);
    line-height: 1.6;
}

.contact-item a:hover {
    color: var(--forest-dark);
}

.map-container {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.map-container iframe {
    display: block;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--off-white);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(26, 77, 46, 0.06);
}

.contact-form-wrapper h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid rgba(26, 77, 46, 0.15);
    border-radius: var(--radius-sm);
    font-family: 'Lato', sans-serif;
    font-size: 0.9375rem;
    color: var(--text-dark);
    background: var(--cream);
    transition: all var(--transition);
    appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--forest-mid);
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
}

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

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

.form-note {
    font-size: 0.8125rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 12px;
}

.form-success {
    text-align: center;
    padding: 40px 20px;
}

.form-success svg {
    margin: 0 auto 16px;
}

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

.form-success p {
    color: var(--text-mid);
    line-height: 1.7;
}

/* --- Footer --- */
.footer {
    background: var(--text-dark);
    color: rgba(244, 241, 234, 0.7);
    padding: 64px 0 0;
}

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

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

.footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: 'Lato', sans-serif;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--forest-pale);
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.9375rem;
    color: rgba(244, 241, 234, 0.6);
}

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

.footer-contact p {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 4px;
}

.footer-contact a {
    color: var(--forest-pale);
}

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

.footer-bottom {
    border-top: 1px solid rgba(244, 241, 234, 0.08);
    padding: 24px 0;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(244, 241, 234, 0.4);
    text-align: center;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-container {
        gap: 40px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-container {
        gap: 48px;
    }
    
    .contact-container {
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--off-white);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        padding: 40px;
        box-shadow: var(--shadow-lg);
        transition: right var(--transition);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu a {
        font-size: 1.125rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 40px;
    }
    
    .hero-subheadline {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-image {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-container {
        grid-template-columns: 1fr;
    }
    
    .about-image-wrapper {
        order: -1;
    }
    
    .about-image-wrapper img {
        height: 400px;
    }
    
    .about-values {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 32px 24px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

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

/* --- Scroll Animations (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
    .reveal-delay-5 { transition-delay: 0.5s; }
    .reveal-delay-6 { transition-delay: 0.6s; }
}
