/* ===================================
   ROCKY'S TIRES - VIBRANT MODERN THEME
   Colors: Emerald Green (#047857) + Cream (#FDF6E3)
===================================== */

:root {
    --emerald-dark: #047857;
    --emerald-light: #10B981;
    --emerald-deeper: #065F46;
    --cream: #FDF6E3;
    --cream-dark: #F5E6C8;
    --white: #FFFFFF;
    --text-dark: #1F2937;
    --text-gray: #4B5563;
    --text-light: #6B7280;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--cream);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4 {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    line-height: 1.1;
    color: var(--emerald-deeper);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

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

/* Background Shapes */
.bg-shape {
    position: fixed;
    z-index: -1;
    opacity: 0.4;
    pointer-events: none;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--emerald-light) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    border-radius: 50%;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--cream-dark) 0%, transparent 70%);
    bottom: 10%;
    left: -100px;
    border-radius: 50%;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--emerald-dark);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary {
    background-color: var(--white);
    color: var(--emerald-dark);
    border: 2px solid var(--emerald-dark);
}

.btn-secondary:hover {
    background-color: var(--emerald-dark);
    color: var(--white);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.1rem;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 246, 227, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(4, 120, 87, 0.1);
    padding: 16px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--emerald-deeper);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--emerald-dark);
    color: var(--white);
    border-radius: var(--radius-sm);
}

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

.nav-links a {
    font-weight: 500;
    color: var(--text-dark);
}

.nav-links a:hover {
    color: var(--emerald-dark);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--emerald-dark);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

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

.hero-badge {
    display: inline-block;
    background: var(--emerald-dark);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 24px;
    color: var(--emerald-deeper);
}

.text-highlight {
    background: linear-gradient(135deg, var(--emerald-light) 0%, var(--emerald-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 500px;
}

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

.hero-visual {
    position: relative;
}

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

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

.float-card {
    position: absolute;
    background: var(--white);
    padding: 20px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 16px;
    animation: float 3s ease-in-out infinite;
}

.float-card-icon {
    width: 48px;
    height: 48px;
    background: var(--cream);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-dark);
}

.float-card-content {
    display: flex;
    flex-direction: column;
}

.float-card-number {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--emerald-deeper);
}

.float-card-label {
    font-size: 0.875rem;
    color: var(--text-light);
}

.card-1 {
    bottom: 40px;
    left: -40px;
    animation-delay: 0s;
}

.card-2 {
    top: 40px;
    right: -40px;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.geo-shape {
    position: absolute;
    opacity: 0.1;
}

.shape-circle {
    width: 300px;
    height: 300px;
    border: 8px solid var(--emerald-dark);
    border-radius: 50%;
    top: 10%;
    right: 5%;
}

.shape-square {
    width: 150px;
    height: 150px;
    background: var(--emerald-dark);
    bottom: 15%;
    left: 5%;
    transform: rotate(45deg);
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    color: var(--emerald-dark);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-gray);
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.service-card {
    background: var(--cream);
    padding: 40px 32px;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--emerald-dark);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--emerald-dark);
    color: var(--white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--emerald-deeper);
}

.service-card p {
    color: var(--text-gray);
}

/* About Section */
.about {
    padding: 100px 0;
    position: relative;
}

.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-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

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

.about-img-secondary {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 280px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 6px solid var(--white);
}

.about-img-secondary img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.about-pattern {
    position: absolute;
    top: -30px;
    left: -30px;
    width: 150px;
    height: 150px;
    background: repeating-linear-gradient(
        45deg,
        var(--emerald-dark),
        var(--emerald-dark) 10px,
        transparent 10px,
        transparent 20px
    );
    opacity: 0.2;
    border-radius: var(--radius-sm);
}

.about-content .section-tag {
    text-align: left;
}

.about-content h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 24px;
}

.about-content p {
    color: var(--text-gray);
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.check-list {
    margin: 32px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.check-list li::before {
    content: '';
    width: 20px;
    height: 20px;
    background: var(--emerald-dark);
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background: var(--emerald-dark);
    color: var(--white);
}

.testimonials .section-header h2 {
    color: var(--white);
}

.testimonials .section-header p {
    color: rgba(255, 255, 255, 0.8);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px 32px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.quote-icon {
    font-size: 4rem;
    line-height: 1;
    color: var(--emerald-light);
    margin-bottom: 16px;
}

.testimonial-card p {
    font-size: 1.1rem;
    margin-bottom: 24px;
    color: var(--white);
}

.author {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.author-name {
    font-weight: 700;
    font-family: 'Syne', sans-serif;
}

.author-role {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

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

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

.contact-info .section-tag {
    text-align: left;
}

.contact-info h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 16px;
}

.contact-info > p {
    color: var(--text-gray);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: var(--emerald-dark);
    color: var(--white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-text strong {
    display: block;
    color: var(--emerald-deeper);
    margin-bottom: 4px;
}

.contact-text p,
.contact-text a {
    color: var(--text-gray);
    font-size: 1.05rem;
}

.contact-text a:hover {
    color: var(--emerald-dark);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--cream-dark);
    border-radius: var(--radius-sm);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--cream);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--emerald-dark);
    background: var(--white);
}

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

/* Footer */
.footer {
    background: var(--emerald-deeper);
    color: var(--white);
    padding: 80px 0 0;
}

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

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

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

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

.footer-col a,
.footer-col li {
    color: rgba(255, 255, 255, 0.7);
}

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

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Success Message */
.success-message {
    display: none;
    background: var(--emerald-dark);
    color: var(--white);
    padding: 20px;
    border-radius: var(--radius-sm);
    text-align: center;
    margin-top: 16px;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-container,
    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .hero-img {
        height: 500px;
    }
    
    .float-card {
        display: none;
    }
    
    .about-img-secondary {
        right: 20px;
        bottom: -20px;
        width: 200px;
    }
    
    .about-img-secondary img {
        height: 200px;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--cream);
        flex-direction: column;
        padding: 32px;
        gap: 24px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero h1 {
        font-size: 2.25rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn-lg {
        width: 100%;
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 32px 24px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 32px;
    }
}
