/* Variables & Fonts */
@font-face {
    font-family: 'Mahalini';
    src: url('fonts/Mahalini.woff2') format('woff2'),
         url('fonts/Mahalini.woff') format('woff'),
         url('fonts/Mahalini.ttf') format('truetype'),
         url('fonts/Mahalini.otf') format('opentype');
    font-weight: normal;

}

:root {
    --gold: #ffffff;
    --dark: #ffffff;
    --peach: #000000;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
 font-family: 'Mahalini';
 font-weight: 500;

}

body {
    background-color: #f4f4f4;
    overflow-x: hidden;
}

/* ===== HEADER & UNIQUE NAV ANIMATION ===== */
header {
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 50%; /* Kept your specific width */
    padding: 12px 35px;
    border-radius: 60px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    z-index: 1000;
}

.header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}
/* ===== LOGO ===== */
.logo img {
    height: 42px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1); /* white logo */
}

/* Center grid stays balanced */
.header-left {
    display: flex;
    align-items: center;
}

/* Mobile logo scaling */
@media (max-width: 768px) {
    .logo img {
        height: 34px;
    }
}

nav ul {
    display: flex;
    gap: 40px;
    list-style: none;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1.5px;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

/* Unique Hover: Rolling Underline */
nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

nav a:hover {
    color: var(--gold);
}

nav a:hover::after {
    width: 100%;
}

/* ===== SOCIAL ICONS LIFT ANIMATION ===== */
.right-group { justify-self: end; }
.icon-pill { display: flex; align-items: center; gap: 15px; }

.social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.social a:hover {
    transform: translateY(-5px);
    background: var(--peach);
    box-shadow: 0 10px 15px rgba(197, 135, 0, 0.4);
}

.social svg, .social i {
    width: 18px;
    color: #000;
    fill: #000;
    transition: color 0.3s;
}

.social a:hover i, .social a:hover svg {
    color: #fff;
    fill: #fff;
}

/* ===== MOBILE TOGGLE & ANIMATED X ===== */
.menu-toggle {
    width: 28px;
    height: 20px;
    position: relative;
    cursor: pointer;
    display: none;
    z-index: 1001;
}

.menu-toggle span {
    position: absolute;
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 10px;
    transition: all 0.4s ease;
}

.menu-toggle span:nth-child(2) { top: 9px; }
.menu-toggle span:nth-child(3) { bottom: 0; }

/* Animation to X when active */
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg); top: 9px; }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg); bottom: 8px; }

/* ===== HERO SECTION ===== */
.hero-wrapper { position: relative; width: 100%; }
.hero-section { position: relative; width: 100%; overflow: hidden; }
.hero-img { width: 100%; height: auto; display: block; }
.hero-mobile { display: none; }

.shop-btn {
    position: absolute;
    top: 75%;
    left: 10%;
    padding: 16px 50px;
    background: #000;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 2px;
    transition: 0.3s ease;
}

.shop-btn:hover {
    background: var(--peach);
    border-color: var(--peach);
}

/* ===== SPLIT SECTION (SQUARE IMAGES) ===== */
.split-section { padding: 100px 8%; background: var(--peach); color: #fff; }
.split-container { 
    display: flex; 
    align-items: center; 
    gap: 80px; 
    max-width: 1200px; 
    margin: auto; 
}

.split-img { 
    flex: 1; 
    aspect-ratio: 1 / 1; /* Forced Square Ratio */
    overflow: hidden; 
    border-radius: 20px;
}

.split-img img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.6s ease;
}

.split-img:hover img { transform: scale(1.08); }

.split-text { flex: 1; }
.split-text h2 { font-size: 2.8rem; margin-bottom: 25px; line-height: 1.2; }
.split-text p { font-size: 24px; margin-bottom: 35px; line-height: 1.4; }
/* Proper Button Styling for Split Section */
.btn-black {
    display: inline-block;
    background: var(--white);
    padding: 14px 40px;
    border-radius: 50px;
    transition: 0.3s;
    margin-top: 10px;
}

.btn-black a {
    color: #000 !important;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    display: block;
}

.btn-black:hover {
    background: var(--peach);
    transform: translateY(-3px);
}

.btn-black:hover a { color: #fff !important; }

/* ===== COLLECTION GRID ===== */
.collection { padding:50px 8%; text-align: center; }
.collection h2 { padding-bottom:50px; text-align: center; font-size: 45px; }
.collection-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.card { position: relative; height: 450px; border-radius: 25px; overflow: hidden; }
.card img { width: 100%; height: 100%; object-fit: cover; transition: 0.6s; }
.card:hover img { transform: scale(1.1); }

.card-hover { 
    position: absolute; 
    inset: 0; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    /* background: rgba(0,0,0,0.3);  */
}

.card-hover span a { 
    color: #fff; 
    border: 1px solid #fff; 
    padding: 12px 30px; 
    border-radius: 30px; 
    text-decoration: none; 
    background: rgba(0,0,0,0.2);
    backdrop-filter: blur(5px);
    transition: 0.3s;
}

.card-hover span a:hover {
    background: var(--peach);
    border-color: var(--gold);
}

/* ===== FOOTER ===== */
footer { padding: 60px 8%; text-align: center; background: #fff; border-top: 1px solid #eee; }
.footer-follow i { font-size: 2rem; color: #E1306C; margin-top: 10px; transition: 0.3s; }
.footer-follow i:hover { transform: scale(1.2); }

/* ===== FULLY RESPONSIVE FIXES ===== */
@media (max-width: 1024px) {
    header { width: 80%; }
}

@media (max-width: 768px) {
    header { 
        width: 60%; 
        top: 20px; 
        left: 65%; /* Kept your previous responsive alignment */
    }
    
    .menu-toggle { display: block; }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 50vh;
        background: #000;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    }

    nav.active { right: 0; }
    
    nav ul { 
        flex-direction: column; 
        gap: 35px; 
        text-align: center;
    }
    
    nav a { font-size: 24px; }

    .hero-desktop { display: none; }
    .hero-mobile { display: block; }

    .split-container { 
        flex-direction: column; 
        gap: 40px; 
        text-align: center; 
    }
    
    .split-img { 
        width: 100%; 
        max-width: 400px; 
        margin: 0 auto;
    }

    .shop-btn { 
        left: 50%; 
        transform: translateX(-50%); 
        width: 180px; 
        text-align: center;
        padding: 14px 0;
    }
}