/* ===========================
   RESET & BASE STYLES
   =========================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    color: #262626;
    background-color: #F5F5DC;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* ===========================
   NAVIGATION
   =========================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #262626;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(160, 115, 1, 0.2);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.5px;
    color: #262626;
    display: flex;
    align-items: center;
}

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

.nav-icons {
    display: flex;
    gap: 20px;
}

.nav-icon {
    color: #F5F5DC;
    transition: opacity 0.2s ease;
}

.nav-icon {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
}

.nav-icon:hover {
    opacity: 0.6;
}

.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #A07301;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    height: 18px;
    display: none;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* ===========================
   HERO SECTION
   =========================== */

.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #F5F5DC 0%, #E8E4D0 100%);
    background-image:
        radial-gradient(circle at 20% 50%, rgba(160, 115, 1, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(160, 115, 1, 0.15) 0%, transparent 50%),
        linear-gradient(135deg, #F5F5DC 0%, #E8E4D0 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml;utf8,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="rgba(44,36,32,0.03)"/></svg>');
    background-size: 30px 30px;
    opacity: 0.4;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(38, 38, 38, 0.05) 100%);
}

.hero-content {
    position: relative;
    text-align: center;
    z-index: 10;
    padding: 0 24px;
}

.hero-quote-icon {
    color: #A07301;
    opacity: 0.2;
    margin-bottom: 32px;
}

.hero-title {
    font-size: clamp(32px, 6vw, 56px);
    font-weight: 300;
    line-height: 1.3;
    margin-bottom: 28px;
    color: #262626;
    letter-spacing: -1px;
    font-style: italic;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 19px);
    line-height: 1.6;
    color: #666666;
    margin-bottom: 48px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.cta-button {
    display: inline-block;
    padding: 16px 48px;
    background-color: #262626;
    color: #F5F5DC;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    border-radius: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(38, 38, 38, 0.15);
}

.cta-button:hover {
    background-color: #443a33;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(38, 38, 38, 0.25);
}

/* ===========================
   HIGHLIGHTS SECTION
   =========================== */

.highlights {
    padding: 120px 0;
    background-color: #ffffff;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.highlight-item {
    text-align: center;
}

.highlight-icon {
    color: #A07301;
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

.highlight-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #262626;
}

.highlight-text {
    font-size: 16px;
    color: #666666;
    line-height: 1.6;
}

/* ===========================
   PRODUCTS SECTION
   =========================== */

.products {
    padding: 120px 0;
    background-color: #F5F5DC;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 300;
    text-align: center;
    margin-bottom: 16px;
    color: #262626;
    letter-spacing: -1px;
}

.section-subtitle {
    text-align: center;
    color: #666666;
    font-size: 18px;
    margin-bottom: 80px;
    font-weight: 400;
}

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

.product-card {
    background-color: #ffffff;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(38, 38, 38, 0.06);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(38, 38, 38, 0.12);
}

.product-card.featured {
    box-shadow: 0 4px 20px rgba(160, 115, 1, 0.2);
}

.product-image {
    width: 100%;
    padding-top: 100%;
    position: relative;
    overflow: hidden;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.light-frame-hover {
    position: relative;
}

.light-frame-hover .default-image,
.light-frame-hover .hover-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease;
}

.light-frame-hover .hover-image {
    opacity: 0;
}

.product-card:hover .light-frame-hover .hover-image {
    opacity: 1;
}

.product-card:hover .light-frame-hover .default-image {
    opacity: 0;
}

.product-card > h3,
.product-card > p {
    padding: 0 24px;
}

.product-title {
    font-size: 22px;
    font-weight: 600;
    margin: 24px 0 8px;
    color: #262626;
}

.product-description {
    font-size: 15px;
    color: #666666;
    margin-bottom: 16px;
    line-height: 1.5;
}

.product-price {
    font-size: 18px;
    font-weight: 500;
    color: #262626;
    margin-top: auto;
    margin-bottom: 16px;
}

.add-to-cart-btn {
    display: block;
    width: calc(100% - 48px);
    margin: auto 24px 24px;
    padding: 12px 24px;
    background-color: #262626;
    color: #F5F5DC;
    border: none;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 2px;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
}

.add-to-cart-btn:hover {
    background-color: #443a33;
    transform: translateY(-1px);
    color: #F5F5DC;
}

.products-cta {
    text-align: center;
    margin-top: 60px;
}

/* ===========================
   FAQ SECTION
   =========================== */

.faq {
    padding: 120px 0;
    background-color: #ffffff;
}

.faq-list {
    max-width: 800px;
    margin: 60px auto 0;
}

.faq-item {
    border-bottom: 1px solid rgba(38, 38, 38, 0.1);
}

.faq-question {
    width: 100%;
    padding: 28px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 18px;
    font-weight: 500;
    color: #262626;
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: #A07301;
}

.faq-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: #A07301;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

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

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 28px;
}

.faq-answer p {
    color: #666666;
    font-size: 16px;
    line-height: 1.7;
}

/* ===========================
   FOOTER
   =========================== */

.footer {
    background-color: #262626;
    color: #e8dfd4;
    padding: 80px 0 40px;
}

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

.footer-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #F5F5DC;
}

.footer-text {
    color: #A07301;
    margin-bottom: 20px;
    font-size: 15px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
    flex-direction: column;
}

.newsletter-input {
    padding: 14px 16px;
    border: 1px solid rgba(160, 115, 1, 0.3);
    background-color: rgba(245, 245, 220, 0.05);
    color: #F5F5DC;
    font-size: 15px;
    border-radius: 2px;
    transition: border-color 0.2s ease;
}

.newsletter-input::placeholder {
    color: #A07301;
}

.newsletter-input:focus {
    outline: none;
    border-color: #A07301;
}

.newsletter-button {
    padding: 14px 24px;
    background-color: #A07301;
    color: #262626;
    border: none;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 2px;
    transition: all 0.2s ease;
}

.newsletter-button:hover {
    background-color: #d4b58d;
    transform: translateY(-1px);
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    color: #A07301;
    transition: all 0.2s ease;
}

.social-link:hover {
    color: #F5F5DC;
    transform: translateY(-2px);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(160, 115, 1, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 14px;
    color: #A07301;
}

.footer-link {
    color: #A07301;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #F5F5DC;
}

.footer-contact-item {
    font-size: 15px;
    margin-bottom: 8px;
    line-height: 1.5;
    color: #A07301;
}

.footer-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-separator {
    color: #999999;
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

@media (max-width: 768px) {
    .hero {
        min-height: 500px;
    }

    .highlights {
        padding: 80px 0;
    }

    .highlights-grid {
        gap: 40px;
    }

    .products,
    .faq {
        padding: 80px 0;
    }

    .products-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .footer {
        padding: 60px 0 30px;
    }

    .footer-content {
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .nav-content {
        padding: 16px 20px;
    }

    .logo {
        font-size: 18px;
    }

    .hero-title {
        letter-spacing: -1px;
    }

    .section-title {
        letter-spacing: -0.5px;
    }

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

/* ===========================
   CART SIDEBAR
   =========================== */

.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2000;
    pointer-events: none;
}

.cart-sidebar.active {
    pointer-events: auto;
}

.cart-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(38, 38, 38, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(2px);
}

.cart-sidebar.active .cart-overlay {
    opacity: 1;
}

.cart-panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 420px;
    background-color: #ffffff;
    box-shadow: -4px 0 24px rgba(38, 38, 38, 0.15);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.cart-sidebar.active .cart-panel {
    transform: translateX(0);
}

.cart-header {
    padding: 24px;
    border-bottom: 1px solid rgba(38, 38, 38, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-title {
    font-size: 24px;
    font-weight: 600;
    color: #262626;
}

.cart-close {
    background: none;
    border: none;
    cursor: pointer;
    color: #666666;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    border-radius: 2px;
}

.cart-close:hover {
    color: #262626;
    background-color: rgba(38, 38, 38, 0.05);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.cart-empty {
    text-align: center;
    color: #666666;
    padding: 40px 20px;
    font-size: 16px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 0;
    border-bottom: 1px solid rgba(38, 38, 38, 0.08);
}

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

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-size: 16px;
    font-weight: 500;
    color: #262626;
    margin-bottom: 4px;
}

.cart-item-price {
    font-size: 15px;
    color: #666666;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.quantity-btn {
    width: 28px;
    height: 28px;
    border: 1px solid rgba(38, 38, 38, 0.2);
    background-color: #ffffff;
    color: #262626;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    transition: all 0.2s ease;
}

.quantity-btn:hover {
    background-color: #F5F5DC;
    border-color: #A07301;
}

.quantity {
    min-width: 24px;
    text-align: center;
    font-weight: 500;
    font-size: 15px;
    color: #262626;
}

.remove-btn {
    width: 28px;
    height: 28px;
    background: none;
    border: none;
    color: #d47474;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    transition: color 0.2s ease;
}

.remove-btn:hover {
    color: #b94545;
}

.cart-footer {
    padding: 24px;
    border-top: 1px solid rgba(38, 38, 38, 0.1);
    background-color: #F5F5DC;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
    color: #262626;
}

.cart-total-price {
    font-size: 22px;
    color: #A07301;
}

.checkout-button {
    width: 100%;
    padding: 16px 24px;
    background-color: #262626;
    color: #F5F5DC;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 2px;
    transition: all 0.3s ease;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkout-button:hover:not(:disabled) {
    background-color: #443a33;
    transform: translateY(-2px);
}

.checkout-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.cart-note {
    font-size: 13px;
    color: #666666;
    text-align: center;
    line-height: 1.4;
}

/* ===========================
   CART NOTIFICATION
   =========================== */

.cart-notification {
    position: fixed;
    top: 90px;
    right: 24px;
    background-color: #262626;
    color: #F5F5DC;
    padding: 16px 24px;
    border-radius: 2px;
    box-shadow: 0 4px 12px rgba(38, 38, 38, 0.2);
    z-index: 3000;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease;
    font-size: 15px;
    font-weight: 500;
}

.cart-notification.show {
    opacity: 1;
    transform: translateX(0);
}

/* ===========================
   RESPONSIVE CART
   =========================== */

@media (max-width: 480px) {
    .cart-panel {
        max-width: 100%;
    }

    .cart-header {
        padding: 20px;
    }

    .cart-title {
        font-size: 20px;
    }

    .cart-items {
        padding: 20px;
    }

    .cart-notification {
        right: 16px;
        left: 16px;
        top: 80px;
    }
}
