/* Retro Design Enhancement Styles */

/* Retro Typography */
@import url('https://fonts.googleapis.com/css2?family=Righteous:wght@400&family=Oswald:wght@300;400;500;600;700&display=swap');

/* Retro Color Palette Override */
:root {
    --retro-orange: #ff6b35;
    --retro-yellow: #f7931e;
    --retro-brown: #8b4513;
    --retro-cream: #fff8dc;
    --retro-teal: #008b8b;
    --retro-burgundy: #800020;
    --retro-olive: #6b8e23;
    --retro-tan: #d2b48c;
}

/* Retro Background Patterns */
body {
    background-image: 
        radial-gradient(circle at 20px 80px, #f4e4bc 2px, transparent 2px),
        radial-gradient(circle at 80px 20px, rgba(212, 175, 55, 0.1) 2px, transparent 2px),
        radial-gradient(circle at 40px 40px, rgba(44, 85, 48, 0.05) 1px, transparent 1px);
    background-size: 100px 100px, 100px 100px, 50px 50px;
    background-position: 0 0, 0 0, 0 0;
}

/* Retro Headings */
h1, h2, h3 {
    font-family: 'Righteous', cursive;
    text-transform: uppercase;
    letter-spacing: 2px;
}

h1 {
    text-shadow: 
        3px 3px 0px #d4af37,
        6px 6px 10px rgba(0,0,0,0.3);
}

h2 {
    text-shadow: 
        2px 2px 0px rgba(212, 175, 55, 0.7),
        4px 4px 8px rgba(0,0,0,0.2);
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--retro-orange), var(--retro-yellow));
    border-radius: 2px;
}

/* Retro Buttons */
.cta-button, .submit-btn, .btn-primary, .btn-secondary, .nav-link {
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
}

.cta-button::before,
.submit-btn::before,
.btn-primary::before,
.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before,
.submit-btn:hover::before,
.btn-primary:hover::before,
.btn-secondary:hover::before {
    left: 100%;
}

/* Retro Cards */
.service-card, .blog-card, .testimonial-card {
    position: relative;
    border: 3px solid transparent;
    background-clip: padding-box;
}

.service-card::before,
.blog-card::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, var(--retro-orange), var(--retro-yellow), var(--retro-teal), var(--retro-olive));
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before,
.blog-card:hover::before {
    opacity: 1;
}

/* Retro Header Enhancement */
.header {
    background: 
        linear-gradient(135deg, #2c5530 0%, #1a3a1e 100%),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(244, 228, 188, 0.1) 2px,
            rgba(244, 228, 188, 0.1) 4px
        );
    border-bottom: 4px solid var(--retro-yellow);
}

.nav-logo {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.3));
}

/* Retro Hero Section */
.hero {
    background: 
        linear-gradient(135deg, rgba(26, 58, 30, 0.9) 0%, rgba(44, 85, 48, 0.9) 100%),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(244, 228, 188, 0.05) 10px,
            rgba(244, 228, 188, 0.05) 20px
        );
}

.hero-text h1 {
    background: linear-gradient(45deg, #f4e4bc, #d4af37, #f4e4bc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: retro-glow 3s ease-in-out infinite alternate;
}

@keyframes retro-glow {
    0% {
        text-shadow: 
            0 0 5px rgba(212, 175, 55, 0.5),
            0 0 10px rgba(212, 175, 55, 0.3),
            0 0 15px rgba(212, 175, 55, 0.2);
    }
    100% {
        text-shadow: 
            0 0 10px rgba(212, 175, 55, 0.8),
            0 0 20px rgba(212, 175, 55, 0.5),
            0 0 30px rgba(212, 175, 55, 0.3);
    }
}

/* Retro Sections */
.about, .services, .blog, .newsletter, .contact {
    position: relative;
}

.services {
    background: 
        linear-gradient(135deg, #f4e4bc 0%, #e8d8a8 100%),
        repeating-conic-gradient(
            from 0deg at 50% 50%,
            transparent 0deg,
            rgba(212, 175, 55, 0.1) 10deg,
            transparent 20deg
        );
}

/* Retro Stats */
.stat {
    background: 
        linear-gradient(135deg, #f4e4bc 0%, #e8d8a8 100%),
        repeating-linear-gradient(
            45deg,
            rgba(212, 175, 55, 0.1),
            rgba(212, 175, 55, 0.1) 2px,
            transparent 2px,
            transparent 10px
        );
    border: 2px solid var(--retro-yellow);
    position: relative;
}

.stat::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, var(--retro-orange), var(--retro-yellow));
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat:hover::before {
    opacity: 0.3;
}

/* Retro Testimonials */
.testimonials {
    background: 
        linear-gradient(135deg, rgba(44, 85, 48, 0.95) 0%, rgba(26, 58, 30, 0.95) 100%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23f4e4bc' fill-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.testimonial-card {
    backdrop-filter: blur(15px);
    border: 2px solid rgba(244, 228, 188, 0.3);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Retro Forms */
.form-group input {
    border: 3px solid #ddd;
    background: 
        linear-gradient(135deg, #fff 0%, #fafafa 100%),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 20px,
            rgba(212, 175, 55, 0.05) 20px,
            rgba(212, 175, 55, 0.05) 40px
        );
    position: relative;
}

.form-group input:focus {
    border-color: var(--retro-yellow);
    box-shadow: 
        0 0 0 3px rgba(247, 147, 30, 0.2),
        inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Retro Footer */
.footer {
    background: 
        linear-gradient(135deg, #1a3a1e 0%, #0f1f11 100%),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 50px,
            rgba(244, 228, 188, 0.05) 50px,
            rgba(244, 228, 188, 0.05) 100px
        );
    border-top: 4px solid var(--retro-yellow);
}

/* Retro Blog Article Enhancement */
.article-lead {
    background: 
        linear-gradient(135deg, #f9f9f9 0%, #f0f0f0 100%),
        repeating-linear-gradient(
            45deg,
            rgba(212, 175, 55, 0.1),
            rgba(212, 175, 55, 0.1) 2px,
            transparent 2px,
            transparent 10px
        );
    border-left: 6px solid var(--retro-orange);
    position: relative;
}

.article-lead::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 10px;
    font-size: 4rem;
    color: var(--retro-yellow);
    font-family: 'Righteous', cursive;
    opacity: 0.3;
}

/* Retro Tags */
.tag {
    background: linear-gradient(45deg, var(--retro-cream), var(--retro-tan));
    border: 2px solid var(--retro-brown);
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.3s ease;
}

.tag:hover::before {
    left: 100%;
}

/* Retro Cookie Banner */
.cookie-banner {
    background: 
        linear-gradient(135deg, rgba(44, 85, 48, 0.95) 0%, rgba(26, 58, 30, 0.95) 100%),
        repeating-linear-gradient(
            90deg,
            rgba(244, 228, 188, 0.1),
            rgba(244, 228, 188, 0.1) 2px,
            transparent 2px,
            transparent 20px
        );
    border-top: 3px solid var(--retro-yellow);
    backdrop-filter: blur(10px);
}

/* Retro Animations */
@keyframes retro-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(212, 175, 55, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

.service-card:hover,
.blog-card:hover {
    animation: retro-pulse 2s infinite;
}

/* Retro Scroll Effects */
.retro-parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Retro Typography Enhancements */
p {
    font-family: 'Georgia', serif;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* Retro Social Links */
.social-links a {
    position: relative;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
}

.social-links a::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, var(--retro-orange), var(--retro-yellow), var(--retro-teal));
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-links a:hover::after {
    opacity: 0.8;
}

/* Retro Loading Animation */
@keyframes retro-loading {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.retro-loader {
    border: 4px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    border-top: 4px solid var(--retro-yellow);
    width: 40px;
    height: 40px;
    animation: retro-loading 1s linear infinite;
}

/* Retro Responsive Enhancements */
@media (max-width: 768px) {
    h1 {
        text-shadow: 
            2px 2px 0px #d4af37,
            4px 4px 8px rgba(0,0,0,0.3);
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .retro-glow {
        animation-duration: 2s;
    }
}

@media (max-width: 480px) {
    h2::after {
        width: 60px;
        height: 3px;
    }
    
    .tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Retro Print Styles */
@media print {
    .retro-glow,
    .retro-pulse {
        animation: none !important;
    }
    
    .service-card::before,
    .blog-card::before {
        display: none !important;
    }
}
