/* Premium Tea Website Styles */

/* CSS Variables - Premium Color Palette */
:root {
    /* Primary Colors */
    --primary-dark: #1a2f1a;
    --primary-medium: #2d4a2d;
    --primary-light: #4a6b4a;

    /* Neutral Colors */
    --cream: #f8f5f0;
    --warm-white: #fefcf9;
    --soft-gray: #f5f3f0;
    --medium-gray: #8b8680;
    --dark-gray: #4a453f;

    /* Accent Colors */
    --gold: #c9a96e;
    --gold-light: #d4b578;
    --gold-dark: #b8956a;

    /* Text Colors */
    --text-primary: #2c2c2c;
    --text-secondary: #666;
    --text-light: #999;
    --text-white: #ffffff;

    /* Shadows */
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.15);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;

    /* Spacing */
    --container-max: 1200px;
    --section-padding: 80px 0;
    --element-spacing: 2rem;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--warm-white);
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

/* Links */
a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-outline {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 0;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: var(--transition-medium);
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover {
    background-color: var(--primary-medium);
    border-color: var(--primary-medium);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

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

.btn-secondary:hover {
    background-color: var(--primary-dark);
    color: var(--text-white);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--gold);
    border-color: var(--gold);
}

.btn-outline:hover {
    background-color: var(--gold);
    color: var(--text-white);
    transform: translateY(-2px);
}

/* Premium Navigation */
.premium-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(248, 245, 240, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(203, 169, 110, 0.2);
    z-index: 1000;
    transition: var(--transition-medium);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-container {
    flex-shrink: 0;
}

.logo {
    height: 50px;
    width: auto;
    transition: var(--transition-medium);
}

.logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-item {
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold);
    transition: var(--transition-medium);
}

.nav-item:hover::after {
    width: 100%;
}

.nav-item:hover {
    color: var(--gold);
}

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

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--warm-white);
    min-width: 220px;
    padding: 1rem 0;
    border-radius: 8px;
    box-shadow: var(--shadow-heavy);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-medium);
    border: 1px solid rgba(203, 169, 110, 0.2);
}

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

.dropdown-link {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.dropdown-link:hover {
    background-color: var(--soft-gray);
    color: var(--gold);
    padding-left: 2rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition-fast);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(26, 47, 26, 0.4) 0%,
            rgba(26, 47, 26, 0.3) 50%,
            rgba(201, 169, 110, 0.2) 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: var(--text-white);
    max-width: 800px;
    padding: 0 2rem;
    z-index: 1;
    position: relative;
}

.hero-content::before {
    content: '';
    position: absolute;
    top: -3rem;
    left: -3rem;
    right: -3rem;
    bottom: -3rem;
    background: linear-gradient(135deg,
            rgba(248, 245, 240, 0.95) 0%,
            rgba(254, 252, 249, 0.92) 50%,
            rgba(245, 243, 240, 0.95) 100%);
    z-index: -1;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(201, 169, 110, 0.3);
}

.hero-title {
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    text-shadow: none;
    letter-spacing: 1px;
}

.accent-text {
    color: var(--gold);
    font-style: italic;
    font-weight: 600;
    text-shadow: none;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-secondary);
    text-shadow: none;
    background: transparent;
    padding: 0;
    border-radius: 0;
    backdrop-filter: none;
    border: none;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Featured Collections */
.featured-collections {
    padding: var(--section-padding);
    background-color: var(--soft-gray);
}

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

.section-title {
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

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

.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.collection-card {
    background-color: var(--warm-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition-medium);
    position: relative;
}

.collection-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}

.collection-card.premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    z-index: 1;
}

.card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.collection-card:hover .card-image img {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.collection-badge {
    background-color: var(--gold);
    color: var(--text-white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.card-content {
    padding: 2rem;
}

.card-title {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card-description {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.card-link {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: var(--transition-fast);
    position: relative;
}

.card-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold);
    transition: var(--transition-medium);
}

.card-link:hover::after {
    width: 100%;
}

.card-link:hover {
    color: var(--gold-dark);
}

/* Philosophy Section */
.philosophy-section {
    padding: var(--section-padding);
    background-color: var(--warm-white);
}

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

.philosophy-title {
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.philosophy-quote {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-style: italic;
    color: var(--gold);
    margin-bottom: 2rem;
    line-height: 1.5;
    position: relative;
    padding-left: 2rem;
}

.philosophy-quote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 3rem;
    color: var(--gold-light);
    opacity: 0.5;
}

.philosophy-description {
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.philosophy-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.philosophy-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.philosophy-image:hover img {
    transform: scale(1.02);
}

/* Newsletter Section */
.newsletter-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-medium) 100%);
    color: var(--text-white);
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-title {
    color: var(--text-white);
    margin-bottom: 1rem;
}

.newsletter-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 0;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--gold);
    background-color: rgba(255, 255, 255, 0.15);
}

.newsletter-btn {
    padding: 1rem 2rem;
    background-color: var(--gold);
    color: var(--text-white);
    border: 2px solid var(--gold);
    border-radius: 0;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-medium);
}

.newsletter-btn:hover {
    background-color: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-2px);
}

/* Premium Footer */
.premium-footer {
    background-color: var(--primary-dark);
    color: var(--text-white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-title {
    color: var(--gold);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-link {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.75rem;
    transition: var(--transition-fast);
    font-size: 0.95rem;
}

.footer-link:hover {
    color: var(--gold);
    padding-left: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }

    .container {
        padding: 0 1rem;
    }

    /* Navigation */
    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    /* Hero */
    .hero-section {
        height: 80vh;
        min-height: 500px;
    }

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

    .btn-primary,
    .btn-secondary,
    .btn-outline {
        width: 100%;
        max-width: 280px;
    }

    /* Collections */
    .collections-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Philosophy */
    .philosophy-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .philosophy-image {
        order: -1;
    }

    /* Newsletter */
    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-input,
    .newsletter-btn {
        width: 100%;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .collections-grid {
        grid-template-columns: 1fr;
    }

    .collection-card {
        margin: 0 1rem;
    }

    .card-content {
        padding: 1.5rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.collection-card {
    animation: fadeInUp 0.6s ease forwards;
}

.collection-card:nth-child(2) {
    animation-delay: 0.1s;
}

.collection-card:nth-child(3) {
    animation-delay: 0.2s;
}

/* Scroll Animations */
@media (prefers-reduced-motion: no-preference) {

    .section-header,
    .philosophy-content,
    .newsletter-content {
        opacity: 0;
        transform: translateY(20px);
        animation: fadeInUp 0.8s ease forwards;
    }
}

/* High-end touches */
.premium-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* Luxury scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--soft-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-dark);
}

/* Selection styling */
::selection {
    background-color: var(--gold);
    color: var(--text-white);
}

/* Focus styles for accessibility */
button:focus,
input:focus,
a:focus {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}