/* Global Styles & Variables */
:root {
    --primary-color: #f8d568;
    --secondary-color: #4aa4e0;
    --accent-color: #e74c3c;
    --dark-color: #2c3e50;
    --light-color: #f5f3ef;
    --text-color: #333333;
    --border-radius: 8px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --container-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-tertiary, .btn-contact {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--dark-color);
}

.btn-primary:hover {
    background-color: #e6c456;
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background-color: #3890cc;
    transform: translateY(-2px);
}

.btn-tertiary {
    background-color: transparent;
    color: var(--dark-color);
    border: 2px solid var(--dark-color);
}

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

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

.btn-contact:hover {
    background-color: #d63b2b;
}

/* Header */
header {
    background-color: white;
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: var(--container-width);
    margin: 0 auto;
}

.logo img {
    height: 60px;
}

nav ul {
    display: flex;
    gap: 2rem;
}

nav ul li a {
    position: relative;
    font-weight: 500;
    color: var(--dark-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--dark-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* Banner Section */
.banner {
    background-color: white;
    padding: 4rem 0;
}

.banner-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.banner-text {
    flex: 1;
    padding-right: 2rem;
}

.banner-image {
    flex: 1;
}

.banner h1 {
    margin-bottom: 1.5rem;
    font-size: 3rem;
}

.banner p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #666;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background-color: var(--light-color);
}

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

.service-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    margin: 0 auto 1.5rem;
    width: 80px;
    height: 80px;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

/* About Section */
.about {
    padding: 5rem 0;
    background-color: white;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    align-items: center;
}

.about-content h2 {
    text-align: left;
}

.about-content h2::after {
    left: 0;
    transform: none;
}

.about-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-icon {
    width: 50px;
    height: 50px;
}

/* How It Works Section */
.how-it-works {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--dark-color);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    margin-bottom: 0.5rem;
}

/* Gallery Section */
.gallery {
    padding: 5rem 0;
    background-color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.testimonials-slider {
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.testimonial {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    margin: 0 auto;
    max-width: 800px;
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-content::before,
.testimonial-content::after {
    content: '"';
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.3;
    position: absolute;
    line-height: 1;
}

.testimonial-content::before {
    top: -20px;
    left: -10px;
}

.testimonial-content::after {
    bottom: -40px;
    right: -10px;
    transform: rotate(180deg);
}

.testimonial-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    position: relative;
    z-index: 2;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-info h4 {
    margin-bottom: 0.2rem;
}

.author-info p {
    margin-bottom: 0;
    color: #666;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.prev-btn, .next-btn {
    background-color: var(--primary-color);
    color: var(--dark-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.prev-btn:hover, .next-btn:hover {
    background-color: var(--dark-color);
    color: white;
}

/* Blog Highlights Section */
.blog-highlights {
    padding: 5rem 0;
    background-color: white;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image {
    overflow: hidden;
    height: 200px;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 1.5rem;
}

.blog-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.blog-content p {
    margin-bottom: 1.5rem;
    color: #666;
}

.blog-cta {
    text-align: center;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.info-item svg {
    color: var(--dark-color);
    flex-shrink: 0;
    margin-top: 4px;
}

.info-item h4 {
    margin-bottom: 0.2rem;
}

.info-item p {
    margin-bottom: 0;
    color: #666;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--dark-color);
    color: white;
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--dark-color);
    transform: translateY(-3px);
}

.contact-form {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(248, 213, 104, 0.2);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 60px;
    margin-bottom: 1rem;
    background-color: white;
    padding: 0.5rem;
    border-radius: var(--border-radius);
}

.footer-col h4 {
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

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

/* Thank You Page */
.thank-you {
    padding: 5rem 0;
    text-align: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.thank-you-content {
    max-width: 700px;
    margin: 0 auto;
}

.thank-you-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
}

.thank-you h1 {
    margin-bottom: 1.5rem;
}

.thank-you p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.thank-you-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

/* Media Queries */
@media (max-width: 992px) {
    .banner-container {
        flex-direction: column;
        text-align: center;
    }

    .banner-text {
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-content h2,
    .about-content h2::after {
        text-align: center;
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .header-container {
        padding: 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .banner {
        padding: 3rem 0;
    }

    .banner h1 {
        font-size: 2.25rem;
    }

    .services, .about, .how-it-works, .gallery, .testimonials, .blog-highlights, .contact {
        padding: 3rem 0;
    }

    .feature {
        width: 100%;
    }

    .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .blog-grid,
    .services-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .thank-you-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .thank-you {
        padding: 3rem 0;
    }

    .thank-you-icon {
        width: 80px;
        height: 80px;
    }
}

/* Mobile menu active state */
body.menu-active {
    overflow: hidden;
}

.mobile-menu-active {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 99;
}

.mobile-menu-active ul {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}

.mobile-menu-active ul li a {
    font-size: 1.25rem;
}

/* New Retro Style Elements */
/* Typography enhancements */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Arial', sans-serif;
    letter-spacing: 1px;
}

/* Decorative elements */
.section-title::before {
    content: '✦';
    display: block;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

/* Card stylistic enhancements */
.service-card, .blog-card, .contact-form, .testimonial {
    position: relative;
    border: 2px solid var(--dark-color);
    box-shadow: 8px 8px 0 0 rgba(44, 62, 80, 0.1);
    transition: var(--transition);
}

.service-card:hover, .blog-card:hover {
    box-shadow: 4px 4px 0 0 rgba(44, 62, 80, 0.2);
}

.service-card::before, .blog-card::before, .contact-form::before, .testimonial::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    width: 15px;
    height: 15px;
    background-color: var(--primary-color);
    z-index: -1;
}

.service-card::after, .blog-card::after, .contact-form::after, .testimonial::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 15px;
    height: 15px;
    background-color: var(--primary-color);
    z-index: -1;
}

/* Form elements with retro style */
.form-group input, .form-group select, .form-group textarea {
    border: 2px solid var(--dark-color);
    padding: 12px 16px;
    background-color: var(--light-color);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 4px 4px 0 0 rgba(44, 62, 80, 0.1);
}

/* Button enhancements */
.btn-primary, .btn-secondary, .btn-tertiary, .btn-contact {
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 2px solid var(--dark-color);
    box-shadow: 4px 4px 0 0 var(--dark-color);
    transition: all 0.2s ease;
}

.btn-primary:hover, .btn-secondary:hover, .btn-tertiary:hover, .btn-contact:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 0 var(--dark-color);
}

/* Service icon frames */
.service-icon {
    position: relative;
    border: 2px solid var(--dark-color);
    border-radius: 50%;
    padding: 0.5rem;
    background-color: white;
}

/* Retro animation effects */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.banner-image img {
    animation: pulse 4s infinite ease-in-out;
}

/* Decorative patterns */
.banner::before, .contact::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 10px;
    background: repeating-linear-gradient(
        45deg,
        var(--primary-color),
        var(--primary-color) 10px,
        var(--light-color) 10px,
        var(--light-color) 20px
    );
}

.blog-highlights, .testimonials {
    position: relative;
}

.blog-highlights::after, .testimonials::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 15px;
    background-color: var(--primary-color);
    clip-path: polygon(
        0% 0%, 5% 100%, 10% 0%, 15% 100%, 20% 0%, 25% 100%, 
        30% 0%, 35% 100%, 40% 0%, 45% 100%, 50% 0%, 55% 100%, 
        60% 0%, 65% 100%, 70% 0%, 75% 100%, 80% 0%, 85% 100%, 
        90% 0%, 95% 100%, 100% 0%
    );
}
