:root {
    --primary: #361526;
    --secondary: #6d3a50;
    --light: #dbd7ce;
    --white: #ffffff;
    --dark: #2a1a1f;
    --accent: #8b5a6f;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    color: var(--primary);
    background: var(--light);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', 'Times New Roman', serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--primary);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.8rem; margin-bottom: 1.5rem; }
h3 { font-size: 2rem; }
p { font-size: 1.1rem; margin-bottom: 1rem; }

/* Header */
header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(54, 21, 38, 0.15);
}

.navbar {
    padding: 0.5rem 1rem;
}

.navbar-brand {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    color: var(--white) !important;
    font-weight: 700;
    letter-spacing: 2px;
}

.navbar-nav .nav-link {
    color: var(--light) !important;
    font-size: 1.05rem;
    margin: 0 0.8rem;
    transition: all 0.3s ease;
    font-family: 'Cormorant Garamond', serif;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--light);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
}

.navbar-nav .nav-link:hover {
    color: var(--white) !important;
    transform: translateY(-2px);
}

.navbar-toggler {
    border-color: var(--light);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(219, 215, 206, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,%3Csvg width="60" height="60" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M30 0l30 30-30 30L0 30z" fill="none" stroke="rgba(219,215,206,0.03)" stroke-width="1"/%3E%3C/svg%3E');
    animation: patternMove 60s linear infinite;
}

@keyframes patternMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    padding: 2rem;
    animation: fadeInUp 1.2s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    color: var(--white);
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 4px 8px rgba(0,0,0,0.3);
    animation: fadeInUp 1.2s ease-out 0.2s both;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    color: var(--light);
    animation: fadeInUp 1.2s ease-out 0.4s both;
}

/* Buttons */
.btn-custom {
    background: var(--white);
    color: var(--primary);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    animation: fadeInUp 1.2s ease-out 0.6s both;
}

.btn-custom:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.3);
    background: var(--light);
    color: var(--primary);
}

.btn-outline-custom {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 0.9rem 2.3rem;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.btn-outline-custom:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(54, 21, 38, 0.3);
}

/* Sections */
section {
    padding: 5rem 0;
    position: relative;
}

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

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    margin: 1.5rem auto;
    border-radius: 2px;
}

/* About Section */
.about-content {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(54, 21, 38, 0.08);
    transition: all 0.4s ease;
}

.about-content:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(54, 21, 38, 0.15);
}

/* Product Cards */
.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(54, 21, 38, 0.1);
    transition: all 0.4s ease;
    margin-bottom: 2rem;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 45px rgba(54, 21, 38, 0.2);
}

.product-image {
    width: 100%;
    height: 280px;
    background: var(--light);
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-content {
    padding: 2rem;
}

.product-content h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

/* Feature Cards */
.feature-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--white);
    border-radius: 15px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(54, 21, 38, 0.08);
    margin-bottom: 2rem;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(54, 21, 38, 0.15);
}

.feature-icon {
    font-size: 3.5rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.15) rotate(5deg);
    color: var(--primary);
}

/* Accordion */
.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(54, 21, 38, 0.08);
}

.accordion-button {
    background: var(--white);
    color: var(--primary);
    font-weight: 600;
    font-size: 1.15rem;
    padding: 1.3rem 1.5rem;
    border: none;
}

.accordion-button:not(.collapsed) {
    background: var(--secondary);
    color: var(--white);
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-body {
    padding: 1.5rem;
    background: var(--white);
}

/* Trust Badges */
.trust-badge {
    text-align: center;
    padding: 2rem 1rem;
}

.trust-icon {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(54, 21, 38, 0.1);
}

.form-control, .form-select {
    border: 2px solid var(--light);
    padding: 0.9rem 1.2rem;
    border-radius: 10px;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 0.2rem rgba(109, 58, 80, 0.15);
}

/* Map */
.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(54, 21, 38, 0.15);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--light);
    padding: 4rem 0 2rem;
}

footer h5 {
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

footer a {
    color: var(--light);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    margin-bottom: 0.7rem;
}

footer a:hover {
    color: var(--white);
    padding-left: 8px;
}

.social-links a {
    display: inline-block;
    margin-right: 1rem;
    font-size: 1.8rem;
    margin-bottom: 0;
}

.social-links a:hover {
    transform: translateY(-5px) scale(1.1);
    padding-left: 0;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(219, 215, 206, 0.2);
    text-align: center;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    padding: 1.5rem 0;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
    z-index: 9999;
    display: none;
}

.cookie-banner.show {
    display: block;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-text {
    flex: 1;
    min-width: 250px;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.btn-accept, .btn-decline {
    padding: 0.7rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.btn-accept:hover {
    transform: scale(1.05);
}

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

.btn-decline:hover {
    background: var(--white);
    color: var(--primary);
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.floating {
    animation: float 3s ease-in-out infinite;
}

/* Success Page */
.success-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--light) 0%, var(--white) 100%);
}

.success-content {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--white);
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(54, 21, 38, 0.15);
    max-width: 600px;
}

.success-icon {
    font-size: 6rem;
    color: var(--secondary);
    margin-bottom: 2rem;
    animation: scaleIn 0.6s ease-out;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2.2rem; }
    .hero h1 { font-size: 3.2rem; }
}

@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.9rem; }
    h3 { font-size: 1.5rem; }
    p { font-size: 1rem; }
    
    .hero {
        height: 100vh;
        min-height: 500px;
    }
    
    .hero h1 { 
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .hero p { 
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .btn-custom {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
    
    .contact-form, .about-content {
        padding: 2rem 1.5rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.4rem;
    }
    
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.6rem; }
    
    .hero h1 { 
        font-size: 2rem;
    }
    
    .hero p { 
        font-size: 1rem;
    }
    
    .btn-custom, .btn-outline-custom {
        padding: 0.7rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
}

@media (max-width: 320px) {
    body {
        font-size: 14px;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.4rem; }
    
    .hero h1 { 
        font-size: 1.7rem;
    }
    
    .btn-custom {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .contact-form, .about-content {
        padding: 1.5rem 1rem;
    }
}
