/* 
 * KulinHex Website Styles
 * Colors:
 * - Main: #F4A900 (deep saffron)
 * - Accent: #5E2750 (aubergine)
 * - Background: #FFF0E6 (light peach)
 * - Text: #2D1B0E (dark chocolate)
 * - Buttons: gradient from #8FC1A9 to #C0D8B6 (turquoise-olive)
 */

/* Base Styles */
:root {
    --color-main: #F4A900;
    --color-accent: #5E2750;
    --color-background: #FFF0E6;
    --color-text: #2D1B0E;
    --color-button-start: #8FC1A9;
    --color-button-end: #C0D8B6;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Open Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-background);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    color: var(--color-accent);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-main);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 4.5rem 0;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-button-start), var(--color-button-end));
    color: var(--color-accent);
    box-shadow: 0 4px 10px rgba(143, 193, 169, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(143, 193, 169, 0.4);
    color: var(--color-accent);
}

.btn-secondary {
    background-color: var(--color-accent);
    color: white;
}

.btn-secondary:hover {
    background-color: #4e1c42;
    color: white;
}

/* Header */
.site-header {
    padding: 1rem 0;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: block;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin-left: 1.5rem;
}

.main-nav a {
    color: var(--color-text);
    font-weight: 600;
    position: relative;
}

.main-nav a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-main);
    transition: width 0.3s ease;
}

.main-nav a:hover:after {
    width: 100%;
}

.nav-cta {
    background-color: var(--color-main);
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.nav-cta:hover {
    background-color: var(--color-accent);
}

.nav-cta:after {
    display: none;
}

/* Hero Section */
.hero {
    background-color: white;
    padding: 5rem 0;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--color-main);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: rotate(2deg);
    transition: transform 0.5s ease;
}

.hero-image img:hover {
    transform: rotate(0);
}

/* Brand Description */
.brand {
    background-color: var(--color-background);
}

.usp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.usp-item {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.usp-item:hover {
    transform: translateY(-5px);
}

.usp-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Services Section */
.services {
    background-color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--color-background);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.service-card h3, .service-card p, .service-card .price {
    padding: 0 1.5rem;
}

.service-card h3 {
    margin-top: 1.5rem;
}

.service-card .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-main);
    margin: 1rem 0;
}

.service-card .btn {
    margin: 1.5rem;
    display: block;
}

/* About Us Section */
.about-us {
    background-color: var(--color-background);
}

.about-us .container {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-content {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Order Form */
.order-section {
    background-color: white;
    position: relative;
}

.order-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background-color: var(--color-main);
    opacity: 0.1;
    border-radius: 0 0 0 100%;
    z-index: 0;
}

/* Form Errors */
.form-errors {
    max-width: 700px;
    margin: 0 auto 20px;
    padding: 15px;
    border-radius: 5px;
    background-color: #FEE;
    border-left: 4px solid #D33;
    color: #900;
}

.form-errors ul {
    margin: 0;
    padding-left: 20px;
}

.form-errors li {
    margin-bottom: 5px;
}

.order-form-container {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--color-background);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    background-color: white;
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--color-main);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.checkbox-group label {
    margin-bottom: 0;
}

.order-form .btn {
    width: 100%;
    padding: 1rem;
}

/* Testimonials */
.testimonials {
    background-color: var(--color-background);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-content {
    font-style: italic;
    position: relative;
    padding: 0 1rem;
    margin-bottom: 1.5rem;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    left: -15px;
    top: -10px;
    font-size: 3rem;
    color: var(--color-main);
    opacity: 0.3;
}

.testimonial-author {
    text-align: right;
}

/* Footer */
.site-footer {
    background-color: var(--color-accent);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--color-main);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.8rem;
    margin-bottom: 1.5rem;
}

.contact-list, .legal-links {
    list-style: none;
}

.contact-list li, .legal-links li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: flex-start;
}

.contact-list li svg {
    margin-right: 10px;
    margin-top: 5px;
    flex-shrink: 0;
}

.legal-links a {
    color: white;
    opacity: 0.8;
}

.legal-links a:hover {
    opacity: 1;
    color: var(--color-main);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-accent);
    color: white;
    padding: 1rem 0;
    z-index: 9999;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cookie-content p {
    margin-bottom: 0;
    margin-right: 2rem;
}

.cookie-content a {
    color: var(--color-main);
    text-decoration: underline;
}

/* Thank You Page */
.thankyou-section {
    padding: 150px 0;
    display: flex;
    align-items: center;
    text-align: center;
    background-color: white;
}
.legal-page h1 {
    text-align: center;
}
.thankyou-content {
    max-width: 600px;
    text-align: center;
    margin: 0 auto;
}

.thankyou-content h1 {
    color: var(--color-main);
    margin-bottom: 2rem;
}

.thankyou-actions {
    margin-top: 3rem;
}

/* Favicon */
.favicon {
    display: none;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero .container, .about-us .container {
        flex-direction: column;
    }
    .hero-content h1{
        font-size: 2rem;
    }
    .hero-content, .hero-image, .about-content, .about-image {
        flex: auto;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-image img {
        margin-top: 2rem;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content p {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .order-form-container {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .site-header {
        padding: 0.8rem 0;
    }
    
    .logo {
        max-width: 120px;
    }
    
    .main-nav ul {
        display: none;
        gap: 1rem;
    }
    
    .main-nav li {
        margin-left: 0.8rem;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .usp-grid, .services-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* CSS Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content, .usp-item, .service-card, .testimonial-card {
    animation: fadeIn 0.8s ease forwards;
}

.usp-item:nth-child(2) {
    animation-delay: 0.2s;
}

.usp-item:nth-child(3) {
    animation-delay: 0.4s;
}

.service-card:nth-child(2) {
    animation-delay: 0.2s;
}

.service-card:nth-child(3) {
    animation-delay: 0.4s;
}

.testimonial-card:nth-child(2) {
    animation-delay: 0.2s;
}

.testimonial-card:nth-child(3) {
    animation-delay: 0.4s;
} 