/* Reset and Base Styles */
:root {
    --primary: #3C4A6B;
    --accent: #C7F464;
    --light-bg: #F4F4F4;
    --dark-accent: #2B7A78;
    --white: #FFFFFF;
    --shadow: rgba(0,0,0,0.1);
}

/* Form Errors */
.form-errors {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 20px;
}

.form-errors ul {
    margin: 0;
    padding-left: 20px;
}

.form-errors li {
    margin-bottom: 5px;
}

.form-errors li:last-child {
    margin-bottom: 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--primary);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--accent);
    margin: 0.5rem auto 0;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--dark-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--primary);
    box-shadow: 0 4px 6px var(--shadow);
}

.btn-primary:hover {
    background-color: var(--dark-accent);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 15px var(--shadow);
}

.btn-nav {
    background-color: var(--accent);
    color: var(--primary) !important;
    padding: 8px 16px;
}

.btn-nav:hover {
    background-color: var(--white);
    color: var(--primary) !important;
}

.btn-cookie {
    background-color: var(--accent);
    color: var(--primary);
    padding: 8px 16px;
    margin-right: 10px;
}

/* Header Styles */
.main-header {
    background-color: var(--primary);
    color: var(--white);
    position: fixed;
    width: 100%;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo a {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: bold;
    display: flex;
    align-items: center;
}

/* Navigation */
.main-nav .menu {
    display: flex;
    list-style: none;
}

.main-nav .menu li {
    margin-left: 20px;
}

.main-nav .menu a {
    color: var(--white);
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 500;
}

.main-nav .menu a:hover {
    color: var(--accent);
}

.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
    position: relative;
}

.menu-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--white);
    border-radius: 3px;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.menu-icon span:nth-child(1) {
    top: 0px;
}

.menu-icon span:nth-child(2) {
    top: 10px;
}

.menu-icon span:nth-child(3) {
    top: 20px;
}

/* Hero Section */
.hero {
    background-color: var(--primary);
    background-image: url('./img/f1gZPf.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(120deg, rgba(60, 74, 107, 0.8), rgba(43, 122, 120, 0.8));
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.hero h1 span {
    color: var(--accent);
    display: block;
    font-weight: 700;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease 0.2s both;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero .btn {
    animation: fadeInUp 1s ease 0.4s both;
    min-width: 180px;
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    box-shadow: 0 4px 6px var(--shadow);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 15px var(--shadow);
}

@keyframes fadeInUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.about-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 300px;
    padding-right: 40px;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px var(--shadow);
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
    background-color: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-item {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    background-color: var(--light-bg);
    box-shadow: 0 5px 15px var(--shadow);
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-10px);
}

.benefit-icon {
    margin-bottom: 20px;
}

.benefit-item h3 {
    color: var(--dark-accent);
    margin-bottom: 10px;
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.services-table {
    overflow-x: auto;
    margin-top: 40px;
}

.services-table table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0 5px 15px var(--shadow);
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
}

.services-table th {
    background-color: var(--primary);
    color: var(--white);
    padding: 15px;
    text-align: left;
}

.services-table td {
    padding: 15px;
    border-bottom: 1px solid #ddd;
}

.services-table tr:last-child td {
    border-bottom: none;
}

.services-table tr:nth-child(even) {
    background-color: var(--light-bg);
}

/* Why Us Section */
.why-us {
    padding: 80px 0;
    background-color: var(--white);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.why-us-item {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
    background-color: var(--light-bg);
    transition: all 0.3s ease;
}

.why-us-item:hover {
    transform: scale(1.05);
}

.why-us-icon {
    margin-bottom: 20px;
}

.why-us-item h3 {
    color: var(--dark-accent);
    margin-bottom: 10px;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-item {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px var(--shadow);
}

.testimonial-text {
    margin-bottom: 20px;
    position: relative;
}

.testimonial-text::before {
    content: "";
    font-size: 60px;
    font-family: Georgia, serif;
    color: var(--accent);
    position: absolute;
    left: -15px;
    top: -20px;
    opacity: 0.3;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.testimonial-author h4 {
    margin-bottom: 0;
    color: var(--dark-accent);
}

.testimonial-author p {
    margin-bottom: 0;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Order Form Section */
.order-form {
    padding: 80px 0;
    background-color: var(--white);
}

.order-form form {
    max-width: 600px;
    margin: 40px auto 0;
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group.checkbox {
    display: flex;
    align-items: flex-start;
}

.form-group.checkbox input {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.form-group.checkbox label {
    font-weight: normal;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

/* Contacts Section */
.contacts {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.contacts-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info ul {
    list-style: none;
    margin-bottom: 30px;
}

.contact-info li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.contact-info svg {
    margin-right: 10px;
}

.opening-hours li {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px dashed #ddd;
}

.contact-map {
    flex: 1;
    min-width: 300px;
}

.contact-map img {
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
}

/* Footer */
.main-footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-info,
.footer-contact,
.footer-links {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
    padding-right: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-contact a {
    color: var(--accent);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 20px;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary);
    color: var(--white);
    padding: 15px 0;
    box-shadow: 0 -5px 10px var(--shadow);
    z-index: 999;
}

.cookie-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.cookie-container p {
    margin-bottom: 0;
    flex: 1;
    min-width: 300px;
}

.cookie-more {
    color: var(--accent);
    margin-left: 10px;
}

/* Responsive styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.8rem;
    }
    .about-content {
        flex-direction: column;
    }
    .about-text {
        padding-right: 0;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .main-nav .menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary);
        flex-direction: column;
        box-shadow: 0 5px 10px var(--shadow);
    }
    
    .main-nav .menu li {
        margin: 0;
        text-align: center;
    }
    
    .main-nav .menu a {
        display: block;
        padding: 15px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .main-nav .menu li:last-child a {
        border-bottom: none;
    }
    
    .menu-icon {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    #menu-toggle:checked ~ .menu {
        display: flex;
    }
    
    #menu-toggle:checked ~ .menu-icon span:nth-child(1) {
        top: 10px;
        transform: rotate(45deg);
    }
    
    #menu-toggle:checked ~ .menu-icon span:nth-child(2) {
        opacity: 0;
    }
    
    #menu-toggle:checked ~ .menu-icon span:nth-child(3) {
        top: 10px;
        transform: rotate(-45deg);
    }
    
    .hero {
        padding: 120px 0 80px;
        min-height: 500px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cookie-container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .contacts-content {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    .benefits-grid,
    .why-us-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
} 