/* Sweet Swirl - Artisanal Candies */
/* Main stylesheet */

/* Reset and base styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

.btn {
    display: inline-block;
    padding: 12px 28px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: #ff6b6b;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #e55a5a;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #4ecdc4;
    color: #ffffff;
}

.btn-secondary:hover {
    background-color: #3db8b2;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: #ff6b6b;
    border: 2px solid #ff6b6b;
}

.btn-outline:hover {
    background-color: #ff6b6b;
    color: #ffffff;
}

/* Header */
.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid #eaeaea;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    width: 48px;
    height: 48px;
}

.site-name {
    font-size: 24px;
    font-weight: 800;
    color: #ff6b6b;
    letter-spacing: -0.5px;
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    transition: color 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: #ff6b6b;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #fff5f5 0%, #ffeaa7 100%);
    padding: 100px 0;
    text-align: center;
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 42px;
    font-weight: 800;
    color: #2d3436;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    color: #636e72;
    margin-bottom: 35px;
}

.hero-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Article Section */
.article-section {
    padding: 80px 0;
    background-color: #fafafa;
}

.article-section h2 {
    font-size: 32px;
    font-weight: 800;
    color: #2d3436;
    text-align: center;
    margin-bottom: 40px;
}

.main-article {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
    color: #444;
}

.main-article p {
    margin-bottom: 24px;
}

/* Products Section */
.products-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.products-section h2 {
    font-size: 32px;
    font-weight: 800;
    color: #2d3436;
    text-align: center;
    margin-bottom: 50px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.product-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #2d3436;
    margin-bottom: 10px;
}

.product-card p {
    font-size: 15px;
    color: #636e72;
    margin-bottom: 20px;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background-color: #fafafa;
}

.contact-section h2 {
    font-size: 32px;
    font-weight: 800;
    color: #2d3436;
    text-align: center;
    margin-bottom: 40px;
}

.contact-info {
    max-width: 600px;
    margin: 0 auto 40px auto;
    font-size: 18px;
    color: #444;
    text-align: center;
}

.contact-info p {
    margin-bottom: 15px;
}

.contact-info a {
    color: #ff6b6b;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #e55a5a;
    text-decoration: underline;
}

.contact-actions {
    text-align: center;
}

/* Privacy Section */
.privacy-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.privacy-section h1 {
    font-size: 36px;
    font-weight: 800;
    color: #2d3436;
    text-align: center;
    margin-bottom: 15px;
}

.privacy-section p {
    font-size: 17px;
    color: #444;
    margin-bottom: 20px;
}

.privacy-section h2 {
    font-size: 24px;
    font-weight: 700;
    color: #2d3436;
    margin-top: 35px;
    margin-bottom: 15px;
}

.privacy-section ul {
    margin-bottom: 25px;
    padding-left: 25px;
}

.privacy-section li {
    margin-bottom: 10px;
    font-size: 17px;
    color: #444;
}

.privacy-actions {
    margin-top: 40px;
    text-align: center;
}

/* Footer */
.site-footer {
    background-color: #2d3436;
    color: #ffffff;
    padding: 60px 0 30px 0;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand img {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
}

.footer-brand .site-name {
    font-size: 22px;
    color: #ff6b6b;
    display: block;
    margin-bottom: 10px;
}

.footer-brand p {
    color: #b2bec3;
    font-size: 14px;
}

.footer-links h3,
.footer-contact h3 {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #dfe6e9;
    font-size: 15px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ff6b6b;
}

.footer-contact p {
    color: #dfe6e9;
    font-size: 15px;
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid #636e72;
    padding-top: 25px;
    text-align: center;
    color: #b2bec3;
    font-size: 14px;
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-top: 1px solid #eaeaea;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: center;
    text-align: center;
}

.cookie-content p {
    font-size: 15px;
    color: #444;
    margin: 0;
}

.cookie-content strong {
    color: #ff6b6b;
}

.cookie-actions {
    display: flex;
    gap: 12px;
}

.cookie-actions button {
    padding: 10px 24px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

#cookie-accept {
    background-color: #ff6b6b;
    color: #ffffff;
}

#cookie-accept:hover {
    background-color: #e55a5a;
}

#cookie-decline {
    background-color: #f1f2f6;
    color: #444;
}

#cookie-decline:hover {
    background-color: #dfe6e9;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .main-nav {
        display: none;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .cookie-content {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-actions {
        justify-content: center;
    }
}