/* =========================================
   CSS Resets & Variables
========================================= */
:root {
    --color-green: #0E592D;
    --color-green-dark: #094020;
    --color-gold: #c39c59; /* Approximate gold color that matches the logo */
    --color-white: #ffffff;
    --color-text-light: rgba(255, 255, 255, 0.85);
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

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

body, html {
    width: 100%;
    min-height: 100vh;
    background-color: var(--color-green);
    color: var(--color-white);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* =========================================
   Typography
========================================= */
h1, h2, h3, .company-name {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 1px;
}

a {
    color: var(--color-white);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--color-gold);
}

/* =========================================
   Layout & Header
========================================= */
.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.header {
    text-align: center;
    padding: 3rem 0;
    animation: fadeInDown 1s ease-out;
}

.logo-container {
    margin-bottom: 2rem;
}

.logo {
    max-width: 350px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
    transition: var(--transition-smooth);
}

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

.separator-line {
    height: 1px;
    width: 60%;
    margin: 0 auto;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    opacity: 0.7;
}

/* =========================================
   Gallery Section
========================================= */
.gallery-section {
    flex-grow: 1;
    padding: 2rem 0 4rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    align-items: center;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }
.gallery-item:nth-child(5) { animation-delay: 0.5s; }
.gallery-item:nth-child(6) { animation-delay: 0.6s; }
.gallery-item:nth-child(7) { animation-delay: 0.7s; }
.gallery-item:nth-child(8) { animation-delay: 0.8s; }
.gallery-item:nth-child(9) { animation-delay: 0.9s; }
.gallery-item:nth-child(10) { animation-delay: 1.0s; }

.gallery-item.group-1,
.gallery-item.group-3 {
    align-self: start;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(195, 156, 89, 0.3); /* Gold border on hover */
}

.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-item:hover img {
    transform: scale(1.03);
}

.img-main {
    margin-bottom: 1rem;
}

.collection-title {
    width: 100%;
    text-align: center;
    color: var(--color-gold);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.split-title {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.split-title span {
    flex: 1;
    text-align: center;
}

/* =========================================
   Footer / Info Section
========================================= */

.footer {
    padding: 4rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    position: relative;
}

/* Subtle background gradient for footer */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50vw;
    right: -50vw;
    bottom: 0;
    background: linear-gradient(to top, var(--color-green-dark), transparent);
    z-index: -1;
}

.coming-soon-text {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-white);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.social-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 4rem;
}

.stay-tuned {
    font-size: 1rem;
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
    color: var(--color-text-light);
}

.ig-icon {
    border-radius: 12px;
    background: #fff; /* White background to make icon pop */
    padding: 2px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: var(--transition-smooth);
}

.ig-icon:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.company-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    font-size: 0.9rem;
    color: var(--color-text-light);
    max-width: 800px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .company-info-grid {
        grid-template-columns: 1fr 1fr;
        text-align: left;
    }
    
    .info-block:nth-child(even) {
        text-align: right;
    }
}

.company-name {
    color: var(--color-gold);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.info-block p {
    margin-bottom: 0.25rem;
}

/* =========================================
   Animations
========================================= */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   Mobile Optimizations - 2 Column Layout
========================================= */
@media (max-width: 767px) {
    .page-wrapper {
        padding: 1rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .gallery-item {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
        padding: 0;
        background: transparent;
        border: none;
        box-shadow: none;
        backdrop-filter: none;
        align-items: center;
    }

    .gallery-item:hover {
        transform: none;
        box-shadow: none;
    }

    .img-main {
        margin-bottom: 0;
    }
    
    .collection-title {
        grid-column: 1 / -1;
        margin-bottom: 0.5rem;
        font-size: 1.1rem;
    }

    .gallery-item.single-image {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .gallery-item.single-image .img-main {
        max-width: 70%;
        height: auto;
    }
    
    .gallery-item img {
        height: 100%;
        object-fit: cover;
        border-radius: 4px;
    }

    /* Restore mobile layout for Group 5 (Lady) and Group 8-9 */
    .gallery-item.group-5, .gallery-item.group-8-9 {
        grid-template-areas: 
            "title1 title2"
            "img1 img2";
    }
    .gallery-item.group-5 .title-comm, .gallery-item.group-8-9 .title-comm {
        grid-area: title1;
        grid-column: auto; /* override 1 / -1 */
    }
    .gallery-item.group-5 .title-st, .gallery-item.group-8-9 .title-st {
        grid-area: title2;
        grid-column: auto; /* override 1 / -1 */
    }
    .gallery-item.group-5 .img-main, .gallery-item.group-8-9 .img-main {
        grid-area: img1;
    }
    .gallery-item.group-5 .img-secondary, .gallery-item.group-8-9 .img-secondary {
        grid-area: img2;
    }
}
