/* Kerstboomcenter Main Styles */
:root {
    --primary-green: #2d5a2d;
    --light-green: #4a7c59;
    --dark-green: #1a4a1a;
    --accent-gold: #d4af37;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --border-color: #e9ecef;
    --bg-light: #f8f9fa;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-green);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--primary-green);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--text-light);
}

.cart-count {
    background: var(--accent-gold);
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-left: 5px;
    min-width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-green);
    margin: 3px 0;
    transition: 0.3s;
}

/* Dropdown Navigation */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.nav-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    min-width: 200px;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    padding: 8px 0;
    margin: 8px 0 0 0;
    border: 1px solid var(--border-color);
}

.nav-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    border: none;
    background: none;
}

.dropdown-link:hover {
    background: var(--bg-light);
    color: var(--primary-green);
    padding-left: 20px;
}

.dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: 8px 0;
}

.dropdown-link i {
    width: 16px;
    text-align: center;
    font-size: 0.9rem;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 70vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    text-align: center;
    color: white;
    background: rgba(0,0,0,0.5);
    padding: 2rem;
    border-radius: 10px;
    max-width: 600px;
}

.slide-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-green);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: var(--dark-green);
}

.btn-secondary {
    background: var(--accent-gold);
}

.btn-secondary:hover {
    background: #b8941f;
}

/* Snowflake Animation */
.snowflake {
    position: absolute !important;
    top: -50px !important;
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1.5rem !important;
    animation: fall linear infinite !important;
    pointer-events: none !important;
    user-select: none !important;
    z-index: 10 !important;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5) !important;
}

/* Enhanced snowflake classes with different animations */
.snowflake-simple {
    position: absolute;
    top: -20px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    font-weight: normal;
    animation: fallSimple linear infinite;
    pointer-events: none;
    user-select: none;
    z-index: 20;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

.snowflake-float {
    position: absolute;
    top: -20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    font-weight: normal;
    animation: snowflakeFloat ease-in-out infinite;
    pointer-events: none;
    user-select: none;
    z-index: 20;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.snowflake-drift {
    position: absolute;
    top: -20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: normal;
    animation: snowflakeDrift ease-in-out infinite;
    pointer-events: none;
    user-select: none;
    z-index: 20;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.4);
}

@keyframes fall {
    0% {
        transform: translateY(-50px) rotate(0deg) scale(1);
        opacity: 1;
    }
    50% {
        opacity: 1;
        transform: translateY(50vh) rotate(180deg) scale(1.2);
    }
    100% {
        transform: translateY(100vh) rotate(360deg) scale(0.8);
        opacity: 0;
    }
}

@keyframes fallSimple {
    0% {
        transform: translateY(-20px) translateX(0px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    20% {
        transform: translateY(80px) translateX(5px) rotate(45deg);
    }
    40% {
        transform: translateY(160px) translateX(-5px) rotate(90deg);
    }
    60% {
        transform: translateY(240px) translateX(3px) rotate(135deg);
    }
    80% {
        transform: translateY(320px) translateX(-3px) rotate(180deg);
    }
    100% {
        transform: translateY(600px) translateX(0px) rotate(360deg);
        opacity: 0;
    }
}

@keyframes snowflakeFloat {
    0% {
        transform: translateY(-20px) translateX(0px) rotate(0deg) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
    }
    25% {
        transform: translateY(100px) translateX(10px) rotate(90deg) scale(1.1);
    }
    50% {
        transform: translateY(200px) translateX(-10px) rotate(180deg) scale(0.9);
    }
    75% {
        transform: translateY(300px) translateX(8px) rotate(270deg) scale(1.05);
    }
    100% {
        transform: translateY(600px) translateX(0px) rotate(360deg) scale(0.8);
        opacity: 0;
    }
}

@keyframes snowflakeDrift {
    0% {
        transform: translateY(-20px) translateX(0px) rotate(0deg);
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    30% {
        transform: translateY(120px) translateX(-15px) rotate(60deg);
    }
    60% {
        transform: translateY(240px) translateX(15px) rotate(120deg);
    }
    90% {
        transform: translateY(480px) translateX(-8px) rotate(300deg);
    }
    100% {
        transform: translateY(600px) translateX(0px) rotate(360deg);
        opacity: 0;
    }
}

/* Hero Pattern */
.hero-pattern {
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255, 255, 255, 0.05) 10px,
        rgba(255, 255, 255, 0.05) 20px
    );
}

/* Text clamp utility */
.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.slider-dot.active {
    background: white;
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 3rem;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.service-icon {
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
}

.service-icon i {
    font-size: 3rem;
    color: var(--primary-green);
}

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

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Featured Products */
.featured-products {
    padding: 5rem 0;
}

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

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.product-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
}

.product-info {
    padding: 1.5rem;
}

.product-name {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.product-price {
    font-size: 1.1rem;
    color: var(--primary-green);
    font-weight: bold;
}

/* Footer */
.footer {
    background: var(--primary-green);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--accent-gold);
}

.footer-section p,
.footer-section a {
    color: #e9ecef;
    text-decoration: none;
    line-height: 1.6;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #4a7c59;
    margin-top: 2rem;
    color: #e9ecef;
}

/* Page Content */
.page-content {
    min-height: 60vh;
}

.page-header {
    height: 150px;
    background: var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.page-header .snowflake-simple {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
}

.page-title {
    font-size: 2.5rem;
    color: white;
    margin: 0;
    text-align: center;
    font-weight: 600;
}

.content-section {
    margin-bottom: 3rem;
}

.content-section h2 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

/* FAQ Styles */
.faq-item {
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    background: var(--bg-light);
    padding: 1rem;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-answer {
    padding: 0 1rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.open {
    padding: 1rem;
    max-height: 200px;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

/* Responsive Grid */
.responsive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Contact Page Layout */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .quick-actions {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 992px) {
    .quick-actions {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .responsive-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .contact-layout {
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    .responsive-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 2rem;
        padding-top: 2rem;
        transition: left 0.3s;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    .nav-menu.open {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .slide-content h1 {
        font-size: 2rem;
    }

    .slide-content {
        padding: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* Mobile dropdown adjustments */
    .nav-dropdown .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: var(--bg-light);
        margin: 10px 0;
        transform: none;
        opacity: 1;
        visibility: visible;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
    }

    .nav-dropdown.open .dropdown-menu {
        max-height: 300px;
        padding: 10px 0;
    }

    .dropdown-link {
        padding: 12px 20px;
        border-bottom: 1px solid var(--border-color);
    }

    .dropdown-link:last-child {
        border-bottom: none;
    }

    .dropdown-arrow {
        margin-left: auto;
    }
}

/* Contact Page Responsive Layout */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

.quick-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 480px) {
    .quick-actions {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .quick-actions {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

@media (min-width: 480px) {
    .social-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

/* Ensure touch-friendly buttons on mobile */
@media (max-width: 767px) {
    .btn {
        min-height: 44px;
        padding: 12px 16px;
    }
    
    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        min-height: 44px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .service-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
}

/* Product Description HTML Content Styles - High Specificity */
.product-description {
    font-family: inherit !important;
    color: inherit !important;
}

.product-description h1,
.product-description h2,
.product-description h3,
.product-description h4,
.product-description h5,
.product-description h6 {
    margin-bottom: 0.75rem !important;
    margin-top: 1rem !important;
    font-weight: 700 !important;
    color: var(--text-dark) !important;
    line-height: 1.3 !important;
}

.product-description h1 { font-size: 1.8rem !important; }
.product-description h2 { font-size: 1.5rem !important; }
.product-description h3 { font-size: 1.3rem !important; }
.product-description h4 { font-size: 1.1rem !important; }

.product-description p {
    margin-bottom: 1rem !important;
    margin-top: 0.5rem !important;
    line-height: 1.6 !important;
    display: block !important;
}

.product-description ul,
.product-description ol {
    margin-left: 0 !important;
    margin-bottom: 1rem !important;
    margin-top: 0.5rem !important;
    padding-left: 1.5rem !important;
    display: block !important;
}

.product-description ul {
    list-style-type: disc !important;
    list-style-position: outside !important;
}

.product-description ol {
    list-style-type: decimal !important;
    list-style-position: outside !important;
}

.product-description li {
    margin-bottom: 0.4rem !important;
    line-height: 1.5 !important;
    display: list-item !important;
    padding-left: 0.25rem !important;
}

.product-description strong,
.product-description b {
    font-weight: 700 !important;
    color: var(--text-dark) !important;
}

.product-description em,
.product-description i {
    font-style: italic !important;
}

.product-description a {
    color: var(--primary-green) !important;
    text-decoration: underline !important;
}

.product-description a:hover {
    text-decoration: none !important;
}

.product-description blockquote {
    margin: 1rem 0 !important;
    padding: 0.75rem 1rem !important;
    border-left: 4px solid var(--primary-green) !important;
    background-color: var(--bg-light) !important;
    font-style: italic !important;
    display: block !important;
}

.product-description br {
    display: block !important;
    margin-bottom: 0.5rem !important;
}

/* Override any Tailwind CSS resets */
.product-description * {
    box-sizing: border-box !important;
}

/* Cart Icon Styles */
.cart-icon {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-count {
    background: var(--primary-green);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    line-height: 1.2;
}

.cart-count:empty {
    display: none;
}

.cart-icon:hover .cart-count {
    background: var(--dark-green);
}