/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #2C2C2C;
    background-color: #FAF7F0;
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== TOP BAR ===== */
.top-bar {
    background-color: #722F37;
    color: white;
    padding: 10px 0;
    font-size: 13px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left span {
    margin-right: 30px;
}

.top-bar-left i, .top-bar-right i {
    margin-right: 8px;
}

/* ===== MAIN HEADER ===== */
.main-header {
    background-color: white;
    padding: 30px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left, .header-right {
    display: flex;
    gap: 20px;
    align-items: center;
}

.logo {
    font-size: 42px;
    font-weight: 700;
    color: #722F37;
    letter-spacing: 2px;
}

.icon-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: #2C2C2C;
    cursor: pointer;
    padding: 8px;
    transition: color 0.3s;
}

.icon-btn:hover {
    color: #722F37;
}

/* ===== NAVIGATION ===== */
.main-nav {
    background-color: white;
    border-top: 1px solid #E5E5E5;
    border-bottom: 1px solid #E5E5E5;
}

.nav-menu {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 50px;
    padding: 15px 0;
}

.nav-menu a {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #2C2C2C;
    text-decoration: none;
    position: relative;
}

.nav-menu a:hover {
    color: #722F37;
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, #722F37 0%, #5a252c 100%);
    padding: 100px 0;
    text-align: center;
    color: white;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 40px;
    border: 3px solid rgba(255,255,255,0.2);
    border-radius: 200px 200px 20px 20px;
    background: rgba(255,255,255,0.05);
}

.hero-subtitle {
    font-size: 16px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #D4AF37;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 56px;
    line-height: 1.2;
    margin-bottom: 25px;
    font-weight: 600;
}

.hero-description {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.btn-primary {
    display: inline-block;
    padding: 16px 45px;
    background-color: #D4AF37;
    color: white;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 30px;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: transparent;
    border: 2px solid #D4AF37;
}

/* ===== FEATURED SECTION ===== */
.featured-section {
    padding: 100px 0;
    background-color: #FAF7F0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 42px;
    color: #722F37;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 16px;
    color: #666;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    text-align: center;
    padding: 20px;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.product-name {
    font-size: 18px;
    margin-bottom: 8px;
    color: #2C2C2C;
}

.product-category {
    font-size: 13px;
    color: #666;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.product-price {
    font-size: 20px;
    font-weight: 600;
    color: #722F37;
}

/* ===== ABOUT SECTION ===== */
.about-subscription-section {
    padding: 100px 0;
    background-color: white;
}

.about-sub-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

.about-block {
    text-align: center;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 25px;
}

.about-content h3 {
    font-size: 28px;
    color: #722F37;
    margin-bottom: 15px;
}

.about-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.8;
}

.content-blocks {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.content-block {
    text-align: center;
    padding: 30px;
    background: #FAF7F0;
    border-radius: 12px;
}

.content-block i {
    font-size: 40px;
    color: #722F37;
    margin-bottom: 15px;
    display: block;
}

.content-block h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.content-block p {
    font-size: 14px;
    color: #666;
}

.subscription-block {
    background: #722F37;
    padding: 50px 40px;
    border-radius: 12px;
    color: white;
    text-align: center;
}

.subscription-block h3 {
    font-size: 26px;
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
}

.newsletter-form input {
    padding: 15px;
    border: none;
    border-radius: 8px;
}

.btn-subscribe {
    padding: 15px;
    background: #D4AF37;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

/* ===== FOOTER ===== */
.main-footer {
    background-color: #1a1a1a;
    color: white;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    margin-bottom: 60px;
}

.footer-col h3, .footer-col h4 {
    margin-bottom: 20px;
    color: #D4AF37;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

.footer-col ul li a:hover {
    color: #D4AF37;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.6;
}

/* ===== LOGIN PAGE ===== */
.auth-container {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: #FAF7F0;
}

.auth-box {
    background: white;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    max-width: 450px;
    width: 100%;
}

.auth-tabs {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    border-bottom: 2px solid #E5E5E5;
}

.tab-btn {
    flex: 1;
    padding: 15px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}

.tab-btn.active {
    color: #722F37;
    border-bottom-color: #722F37;
}

.auth-form h2 {
    margin-bottom: 25px;
    color: #2C2C2C;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.auth-form input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #E5E5E5;
    border-radius: 6px;
}

.btn-auth {
    width: 100%;
    padding: 15px;
    background: #722F37;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.btn-auth:hover {
    background: #5a252c;
}

.alert {
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.alert-error {
    background: #fee;
    color: #c33;
}

.alert-success {
    background: #efe;
    color: #3c3;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-sub-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-title {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}