/* Base Styles and Colors */
:root {
    --color-primary: #A0D8EF;    /* Light azure */
    --color-accent: #FF8746;     /* Mandarin */
    --color-background: #F9F9F9; /* Ultra white */
    --color-text: #2B2D42;       /* Graphite */
    --color-secondary: #7085B6;  /* Pastel indigo */
    --font-main: 'Arial', sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: var(--color-secondary);
    transition: var(--transition);
}

a:hover {
    color: var(--color-accent);
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: 60px 0;
}

section h2 {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

section h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--color-accent);
    margin: 15px auto;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--color-accent);
    color: white;
}

.btn-primary:hover {
    background: var(--color-secondary);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    color: white;
}

/* Header and Navigation */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.header-logo {
    height: 50px;
}

.menu-toggle {
    display: none;
}

.menu-button {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.bar {
    height: 3px;
    width: 100%;
    background-color: var(--color-text);
    border-radius: 10px;
    transition: var(--transition);
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin-left: 25px;
}

.main-nav a {
    font-weight: 600;
    position: relative;
    padding-bottom: 5px;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: var(--transition);
}

.main-nav a:hover::after {
    width: 100%;
}

/* Hero Section */
#hero {
    position: relative;
    color: white;
    padding: 80px 0;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('./img/VjeVBp.jpg') center/cover no-repeat;
    z-index: -1;
    opacity: 0.8;
}

#hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(160,216,239,0.8) 0%, rgba(112,133,182,0.8) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero-content .subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-content .logo {
    height: 60px;
    margin-bottom: 20px;
}

/* About Section */
#about .about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text, .about-image {
    flex: 1;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h3, .service-card p {
    padding: 0 20px;
}

.service-card h3 {
    color: var(--color-secondary);
    margin-top: 20px;
}

.service-card p {
    margin-bottom: 20px;
}

/* Advantages Section */
#advantages {
    background-color: var(--color-primary);
    color: var(--color-text);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.advantage-card {
    background: white;
    padding: 30px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.advantage-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--color-secondary);
    color: white;
    border-radius: 50%;
    font-size: 30px;
    margin-bottom: 20px;
}

/* Testimonials Section */
#testimonials {
    background-color: var(--color-background);
}

.testimonial-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    height: 200px;
}

.testimonial-card {
    position: absolute;
    width: 100%;
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateX(50px);
    transition: var(--transition);
}

.testimonial-card.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.testimonial-author {
    text-align: right;
    font-style: italic;
    margin-top: 15px;
    color: var(--color-secondary);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.dot {
    display: block;
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background: var(--color-primary);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--color-accent);
    transform: scale(1.3);
}

/* Contact Form */
.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--radius);
    font-size: 16px;
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
}

.checkbox-group label {
    margin: 0;
    font-weight: normal;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: var(--radius);
    overflow: hidden;
}

.faq-question {
    background: white;
}

.faq-question-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    width: 100%;
    color: var(--color-text);
    text-decoration: none;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--color-accent);
    transition: transform 0.3s ease;
}

.faq-item.open .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    background: #f9f9f9;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 1000px;
    padding: 20px;
}

/* Footer */
footer {
    background: var(--color-secondary);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h3 {
    color: white;
    margin-bottom: 20px;
    position: relative;
}

.footer-section h3:after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background: var(--color-accent);
    margin-top: 10px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    transition: bottom 0.5s ease;
    z-index: 1001;
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-banner p {
    flex: 1;
    margin-right: 20px;
    margin-bottom: 10px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    padding: 8px 16px;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: bold;
    transition: var(--transition);
}

.accept-cookies {
    background: var(--color-accent);
    color: white;
}

.reject-cookies {
    background: #eee;
    color: var(--color-text);
}

.cookie-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Responsive design */
@media (max-width: 768px) {
    /* Header */
    .menu-button {
        display: flex;
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        height: 0;
        overflow: hidden;
        transition: var(--transition);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 20px;
    }
    
    .main-nav li {
        margin: 0 0 15px 0;
    }
    
    .menu-toggle:checked ~ .main-nav {
        height: auto;
        padding: 10px 0;
    }
    
    .menu-toggle:checked ~ .menu-button .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .menu-toggle:checked ~ .menu-button .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle:checked ~ .menu-button .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    /* Layout */
    section {
        padding: 40px 0;
    }
    
    /* About */
    #about .about-content {
        flex-direction: column;
    }
    
    /* Hero */
    #hero {
        text-align: center;
        padding: 40px 0;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    /* Footer */
    .footer-content {
        flex-direction: column;
    }
    
    /* Testimonial */
    .testimonial-carousel {
        height: 250px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    .service-card img {
        height: 160px;
    }
    
    .advantage-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .contact-form-container {
        padding: 20px;
    }
    
    .testimonial-carousel {
        height: 300px;
    }
}

/* Thank You Page */
#thank-you {
    padding: 80px 0;
    text-align: center;
}

.thank-you-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    background: white;
    padding: 40px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.thank-you-logo {
    height: 60px;
    margin-bottom: 20px;
    display: block;
}

.thank-you-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--color-accent);
    color: white;
    border-radius: 50%;
    font-size: 40px;
    margin: 20px auto;
}

.thank-you-content h1 {
    color: var(--color-accent);
    margin: 0 auto 20px;
    max-width: 90%;
}

.thank-you-content p {
    margin: 0 auto 20px;
    font-size: 1.1rem;
    max-width: 90%;
}

.thank-you-content .btn {
    margin-top: 20px;
} 