/* --- Global Styles --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f5eefc; 
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.script-font {
    font-family: 'Dancing Script', cursive;
    color: #d178ae; 
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Navigation Header --- */
header {
    background: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: padding 0.3s ease;
}

header.scrolled {
    padding: 10px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    max-height: 120px; 
    width: auto;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
}

nav li {
    margin: 0 15px;
}

nav a {
    text-decoration: none;
    color: #2c0e3e;
    font-weight: 600;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #d178ae;
}

/* NEW: Desktop Hamburger Styles (Hidden by default) */
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: #2c0e3e;
}

/* --- Hero / Top Banner Section --- */
.hero {
    height: 90vh;
    background: linear-gradient(rgba(44, 14, 62, 0.7), rgba(44, 14, 62, 0.7)), #2c0e3e; 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 80px;
    background-attachment: fixed; 
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.hero p {
    font-size: 2rem;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background-color: #c69c6d;
    color: white;
    padding: 15px 35px;
    border: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn:hover { background-color: #4d2363; }

/* --- Sections & Text --- */
section {
    padding: 80px 0;
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #2c0e3e;
}

.about p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 20px auto;
    font-size: 1.1rem;
}

/* --- Services Grid --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.service-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

/* --- Video Styles --- */
.video-container {
    text-align: center;
    margin-bottom: 50px;
}

.promo-video {
    width: 100%;
    max-width: 800px; 
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.25);
    outline: none; 
}

/* --- BULLETPROOF CENTERED Catalog Cover Styles --- */
.catalog-cover-wrapper {
    display: block; 
    text-align: center; 
    margin: 0 auto;
    width: 100%;
}

.catalog-cover-wrapper a {
    display: inline-block; 
}

.catalog-cover-img {
    max-width: 600px; 
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: block; 
    margin: 0 auto; 
}

.catalog-cover-img:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* --- Free-Floating Photo Styles --- */
.relative-section {
    position: relative;
}

.content-on-top {
    position: relative;
    z-index: 5; 
}

.floating-photo {
    position: absolute;
    z-index: 1; 
    border-radius: 10px; 
    box-shadow: 0 15px 30px rgba(0,0,0,0.25); 
    opacity: 0.85; 
    transition: all 0.4s ease;
}

.floating-photo:hover {
    transform: rotate(0deg) scale(1.05);
    z-index: 10;
    opacity: 1;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.photo-sm { width: 180px; height: auto; }
.photo-md { width: 250px; height: auto; }
.photo-lg { width: 350px; height: auto; }

.tilt-left { transform: rotate(-8deg); }
.tilt-right { transform: rotate(12deg); }

/* --- Winners Gallery Row Styles --- */
.winners-gallery {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap; 
}

.winner-photo {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    background-color: rgba(255, 255, 255, 0.4); 
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4d2363;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.winner-photo:hover {
    transform: translateY(-5px);
}

/* --- Contact Section --- */
.contact {
    background-color: #4d2363; 
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.contact h2 { color: white; }

.contact-info { 
    margin-bottom: 30px; 
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.whatsapp-link, .phone-link {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    color: white;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.whatsapp-link:hover, .phone-link:hover {
    transform: scale(1.05);
}

.whatsapp-link { background-color: #25d366; }
.phone-link { background-color: #c69c6d; }

/* --- Floating WhatsApp Button --- */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1001;
    transition: transform 0.3s ease;
}

.floating-whatsapp:hover { transform: scale(1.1); }
.floating-whatsapp img { width: 35px; }

/* --- Footer --- */
footer {
    background: #2c0e3e;
    color: white;
    text-align: center;
    padding: 30px 0;
}

/* --- General Animations --- */
.cursor {
    animation: blink 1s infinite;
    color: #c69c6d;
    font-weight: 300;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.scroll-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* --- UPDATED: Mobile Responsiveness (The Hamburger Fix!) --- */
@media (max-width: 768px) {
    .header-container {
        /* Keep logo and hamburger side-by-side */
        flex-direction: row; 
    }
    
    .logo-img {
        max-height: 80px;
        margin-bottom: 0;
    }
    
    /* Make the hamburger visible on phones */
    .hamburger {
        display: block;
    }

    /* Transform the hamburger into an 'X' when clicked */
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Style the slide-out menu */
    nav ul {
        position: fixed;
        left: -100%;
        top: 90px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        border-radius: 0 0 15px 15px;
        text-align: center;
        transition: 0.4s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }

    /* Slide the menu onto the screen when active */
    nav ul.active {
        left: 0;
    }

    nav li {
        margin: 20px 0;
    }
    
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1.5rem; }
    
    /* Hide floating photos on mobile to prevent layout issues */
    .floating-photo {
        display: none;
    }
}