/* =============================================
   SHARED STYLES - Trillium Cake Co.
   ============================================= */

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f5f0e6;
}

.heading-font {
    font-family: 'Playfair Display', serif;
}

/* Fixed navbar - centered on desktop, horizontal scroll on mobile */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px;
}

.nav-links {
    display: flex;
    gap: 1.75rem;
    overflow-x: auto;
    scrollbar-width: none;
}
.nav-links::-webkit-scrollbar {
    display: none;
}
@media (min-width: 1024px) {
    .nav-links {
        justify-content: center;
        flex: 1;
    }
}

/* Prevents header cut-off - adjust this number if needed */
.main-content {
    padding-top: 120px !important;
}

/* Hero background */
.hero-bg {
    background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
                url('images/hero-cake.jpg');
    background-size: cover;
    background-position: center;
}

/* Logo frame */
.logo-frame {
    background: white;
    border-radius: 4rem;
    box-shadow: 0 35px 60px -15px rgb(0 0 0 / 0.3);
    padding: 28px;
    display: inline-block;
    max-width: 380px;
}
@media (min-width: 640px) {
    .logo-frame {
        padding: 32px;
        max-width: 420px;
    }
}

/* Gallery styling */
.cake-grid img {
    transition: transform 0.4s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cake-grid img:hover {
    transform: scale(1.08);
}
.cake-card {
    aspect-ratio: 3/5;
}

/* ==================== NEW FIX ==================== */
/* Extra breathing room for Instagram icon on mobile */
.instagram-link {
    margin-left: 1.5rem;   /* Increase this number if you want even more space */
}
/* Extra space for the large hero logo on the index page */
.hero-bg {
    padding-top: 100px;     /* Increase this number if still cut off (try 120px, 140px, etc.) */
}