/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff6347;
    --secondary-color: #2c3e50;
    --accent-color: #3498db;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 25px rgba(0, 0, 0, 0.15);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

[hidden] {
    display: none !important;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

/* Header and Navigation */
.header {
    background: var(--bg-white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.nav {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.5rem;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(255, 99, 71, 0.1);
}

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

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--bg-light) 0%, #e3f2fd 100%);
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
}

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

.btn-primary:hover {
    background: #e55347;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--text-dark);
    border-color: var(--text-dark);
}

.btn-secondary:hover {
    background: var(--text-dark);
    color: white;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 400px;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-element {
    position: absolute;
    background: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.element-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.element-2 {
    width: 100px;
    height: 100px;
    top: 50%;
    right: 20%;
    animation-delay: 2s;
}

.element-3 {
    width: 60px;
    height: 60px;
    bottom: 20%;
    left: 50%;
    animation-delay: 4s;
}



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

/* Sections */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: var(--bg-white);
}

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

.about-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

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

/* Products Section */
.products {
    background: var(--bg-light);
}

.product-showcase {
    max-width: 800px;
    margin: 0 auto;
}

.product-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
}

.product-image {
    background: linear-gradient(135deg, var(--primary-color), #e55347);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
}

.product-content {
    padding: 2rem;
}

.product-content h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.product-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.product-description {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.product-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
}

.feature::before {
    content: "✓";
    color: var(--primary-color);
    font-weight: bold;
}

/* Contact Section */
.contact {
    background: var(--bg-white);
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    background: var(--bg-light);
    padding: 0rem;
    border-radius: var(--border-radius);
}

.contact-form h3 {
    padding: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-form + .contact-form {
    margin-top: 2rem;
}

.contact-form-content {
    padding: 0 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form-consent-message {
    text-align: center;
    padding: 1.5rem;
    background: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: var(--border-radius);
}

.contact-form-consent-message .btn {
    margin-top: 1rem;
}

.cookie-debug-summary {
    margin: 0;
    color: var(--text-light);
    font-size: 0.95rem;
}

.cookie-debug-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: var(--bg-white);
}

.cookie-debug-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #eaeaea;
}

.cookie-debug-item:last-child {
    border-bottom: none;
}

.cookie-debug-name {
    font-weight: 600;
    color: var(--text-dark);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.cookie-debug-name i {
    color: var(--accent-color);
}

.cookie-debug-status {
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: #ecf0f1;
    color: var(--text-dark);
    transition: var(--transition);
}

.cookie-debug-status[data-state="granted"] {
    background: rgba(46, 204, 113, 0.15);
    color: #2ecc71;
}

.cookie-debug-status[data-state="denied"] {
    background: rgba(231, 76, 60, 0.15);
    color: #e74c3c;
}

.cookie-debug-status[data-state="pending"],
.cookie-debug-status[data-state="unavailable"] {
    background: rgba(127, 140, 141, 0.15);
    color: #7f8c8d;
}

.cookie-debug-status[data-state="always"] {
    background: rgba(52, 152, 219, 0.15);
    color: var(--accent-color);
}

.cookie-debug-settings {
    align-self: flex-start;
}

.cookie-debug-hint {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-light);
}

.form-placeholder {
    background: var(--bg-white);
    border: 2px dashed var(--text-light);
    border-radius: var(--border-radius);
    padding: 3rem;
    text-align: center;
    color: var(--text-light);
}

.form-placeholder p {
    margin-bottom: 1.5rem;
}

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

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-section p,
.footer-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-white);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

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

    .nav-toggle {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .product-card {
        grid-template-columns: 1fr;
    }

    .product-image {
        height: 200px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

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

    .btn {
        width: 100%;
        justify-content: center;
    }

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

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
.nav-link:focus,
.btn:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.nav-toggle:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}
/* Legal Pages */
.legal-hero {
    min-height: auto;
    padding: 140px 0 60px;
    background: linear-gradient(135deg, var(--bg-light) 0%, #f0f4f8 100%);
}

.hero-container.single-column {
    grid-template-columns: 1fr;
    text-align: center;
}

.legal-section {
    padding: 80px 0;
}

.legal-text {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    color: var(--text-dark);
}

.legal-text h1,
.legal-text h2,
.legal-text h3,
.legal-text h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.legal-text h1:first-of-type,
.legal-text h2:first-of-type,
.legal-text h3:first-of-type {
    margin-top: 0;
}

.legal-text p,
.legal-text li {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.legal-text ul {
    padding-left: 1.5rem;
}

.legal-text a {
    color: var(--accent-color);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .legal-text {
        padding: 24px;
    }
}
