/* INBAL Magazine - Luxury Fashion & Lifestyle */

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1A1A1A;
    background-color: #F5F5F0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
    color: #1A1A1A;
}

h1 { font-size: 4rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }

p {
    margin-bottom: 1.5rem;
    color: #4A4A4A;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* ===== LAYOUT ===== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

/* ===== NAVIGATION ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(245, 245, 240, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo a {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: #1A1A1A;
}

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

.nav-menu a {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #4A4A4A;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #D4AF37;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 80px;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-image img {
    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(to bottom, rgba(26, 26, 26, 0.3), rgba(26, 26, 26, 0.5));
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #FFFFFF;
}

.hero-title {
    color: #FFFFFF;
    font-size: 7rem;
    font-weight: 700;
    letter-spacing: 0.4em;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 0, 0, 0.6), 2px 2px 4px rgba(0, 0, 0, 0.9);
}

.hero-subtitle {
    color: #FFFFFF;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* ===== FEATURED SECTION ===== */
.featured {
    padding: 8rem 0;
    background-color: #FFFFFF;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 5rem;
    letter-spacing: 0.1em;
    color: #1A1A1A;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 4rem 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.article-card {
    background: #FFFFFF;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(26, 26, 26, 0.1);
}

.article-link {
    display: block;
}

.article-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.article-content {
    padding: 2.5rem;
}

.article-category {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #D4AF37;
    display: block;
    margin-bottom: 1rem;
}

.article-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    line-height: 1.3;
    color: #1A1A1A;
}

.article-excerpt {
    font-size: 1rem;
    line-height: 1.8;
    color: #4A4A4A;
    margin-bottom: 1.5rem;
}

.article-read-more {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #1A1A1A;
    border-bottom: 2px solid #D4AF37;
    display: inline-block;
    padding-bottom: 0.25rem;
    transition: color 0.3s ease;
}

.article-card:hover .article-read-more {
    color: #D4AF37;
}

/* ===== ABOUT SECTION (Homepage) ===== */
.about-section {
    padding: 8rem 0;
    background-color: #F5F5F0;
}

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

.about-text {
    font-size: 1.125rem;
    line-height: 2;
    color: #4A4A4A;
    margin-bottom: 3rem;
}

.btn-secondary {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #1A1A1A;
    border: 2px solid #1A1A1A;
    padding: 1rem 3rem;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #1A1A1A;
    color: #FFFFFF;
}

/* ===== FOOTER ===== */
.footer {
    background-color: #1A1A1A;
    color: #FFFFFF;
    padding: 4rem 0;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    margin-bottom: 1rem;
}

.footer-tagline {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.125rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    color: #D4AF37;
}

.footer-copyright {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: rgba(250, 248, 243, 0.6);
}

/* ===== ARTICLE PAGE STYLES ===== */
.article-hero {
    position: relative;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 80px;
    margin-bottom: 4rem;
}

.article-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.article-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(26, 26, 26, 0.4), rgba(26, 26, 26, 0.6));
}

.article-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #FFFFFF;
    max-width: 900px;
    padding: 0 2rem;
}

.article-hero-category {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #D4AF37;
    margin-bottom: 1.5rem;
}

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

.article-meta {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: rgba(250, 248, 243, 0.8);
}

.article-body {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem 8rem;
}

.article-body p {
    font-size: 1.125rem;
    line-height: 2;
    color: #4A4A4A;
    margin-bottom: 2rem;
}

.article-body p:first-letter {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    line-height: 1;
    float: left;
    margin-right: 0.5rem;
    margin-top: 0.1rem;
    color: #D4AF37;
}

.back-link {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #1A1A1A;
    margin-bottom: 3rem;
    border-bottom: 2px solid #D4AF37;
    padding-bottom: 0.25rem;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #D4AF37;
}

/* ===== ABOUT PAGE STYLES ===== */
.about-page {
    margin-top: 80px;
    padding: 8rem 0;
    background-color: #FFFFFF;
}

.about-page-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-page h1 {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: 0.15em;
}

.about-page h2 {
    font-size: 2rem;
    margin-top: 4rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.1em;
}

.about-page p {
    font-size: 1.125rem;
    line-height: 2;
    color: #4A4A4A;
    margin-bottom: 2rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .nav-container {
        padding: 1rem 1.5rem;
    }
    
    .nav-logo a {
        font-size: 1.5rem;
    }
    
    .nav-menu {
        gap: 1.5rem;
    }
    
    .nav-menu a {
        font-size: 0.75rem;
    }
    
    .hero-title {
    color: #FFFFFF;
        font-size: 4rem;
    }
    
    .hero-subtitle {
    color: #FFFFFF;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .article-hero-title {
        font-size: 2rem;
    }
    
    .about-page h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
    color: #FFFFFF;
        font-size: 3rem;
        letter-spacing: 0.3em;
    }
    
    .article-image {
        height: 300px;
    }
}

/* ===== ARTICLE GALLERY ===== */
.article-gallery {
    margin: 4rem 0;
    padding: 3rem 0;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.02), transparent);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.gallery-grid img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.gallery-grid img:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
    z-index: 10;
}

/* Gallery responsive adjustments */
@media (max-width: 968px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    .gallery-grid img {
        height: 250px;
    }
    
    .article-gallery {
        margin: 3rem 0;
        padding: 2rem 0;
    }
}

@media (max-width: 640px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .gallery-grid img {
        height: 300px;
    }
    
    .article-gallery {
        margin: 2rem -1rem;
        padding: 1.5rem 1rem;
    }
}



/* ===== MOBILE OPTIMIZATION - ARTICLE GALLERIES ONLY ===== */
@media (max-width: 768px) {
    /* Only fix gallery images inside articles */
    .article-gallery .gallery-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    .article-gallery .gallery-grid img {
        width: 100% !important;
        height: auto !important;
        max-height: 300px !important;
        object-fit: cover !important;
    }
    
    /* Article hero images (not homepage hero) */
    .article-hero {
        height: 40vh !important;
    }
    
    .article-hero-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
}

@media (max-width: 480px) {
    /* Extra small screens - galleries only */
    .article-gallery .gallery-grid img {
        max-height: 250px !important;
    }
    
    .article-hero {
        height: 35vh !important;
    }
}