/* ================================================
   RADIO SANGAM - MODERN DESIGN WITH IMPROVED COLORS
   ================================================ */

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

:root {
    /* MAIN COLOR VARIABLES - EASY TO CUSTOMIZE */
    /* Primary Colors */
    --primary-dark: #1a1a2e;      /* Dark blue-black for backgrounds */
    --primary-medium: #16213e;    /* Medium blue for sections */
    --primary-light: #0f3460;     /* Light blue for accents */
    
    /* Accent Colors */
    --accent-gold: #e94560;        /* Red-pink accent (main brand color) */
    --accent-gold-hover: #c13651;  /* Darker red for hover states */
    --accent-secondary: #f47068;   /* Lighter red for secondary elements */
    
    /* Background Colors */
    --bg-main: #f8f9fa;            /* Light gray-white for main bg */
    --bg-secondary: #e9ecef;       /* Slightly darker gray */
    --bg-dark: #212529;            /* Dark background */
    --bg-card: #ffffff;            /* White for cards */
    
    /* Text Colors */
    --text-primary: #212529;       /* Main text color */
    --text-secondary: #6c757d;     /* Secondary text */
    --text-light: #adb5bd;         /* Light text */
    --text-white: #ffffff;         /* White text */
    
    /* Additional Colors */
    --border-color: #dee2e6;       /* Border color */
    --shadow-color: rgba(0,0,0,0.1); /* Shadow color */
    
    /* Font Stacks */
    --font-primary: 'Inter', -apple-system, sans-serif;
    --font-display: 'Sora', sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px var(--shadow-color);
    --shadow-md: 0 4px 12px var(--shadow-color);
    --shadow-lg: 0 8px 24px var(--shadow-color);
    --shadow-xl: 0 12px 48px rgba(0,0,0,0.15);
}

/* HOW TO CHANGE COLORS:
   1. To change the main accent color (red/pink): Update --accent-gold
   2. To change the dark theme: Update --primary-dark, --primary-medium, --primary-light
   3. To change backgrounds: Update --bg-main, --bg-secondary
   4. To change text colors: Update --text-primary, --text-secondary
*/

html {
    font-size: 16px;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    padding-bottom: 100px;
}

/* === ENHANCED LOADING SCREEN === */
#loading-screen {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-medium) 50%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-container {
    text-align: center;
    max-width: 400px;
    padding: 2rem;
}

.loading-content {
    position: relative;
}

.loading-logo-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.loading-logo {
    width: 220px;
    height: 220px;
    object-fit: contain;
    position: relative;
    z-index: 2;
    animation: pulse 2s ease-in-out infinite;
}

.loading-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, var(--accent-gold) 0%, transparent 70%);
    opacity: 0.3;
    animation: glow 2s ease-in-out infinite;
    z-index: 1;
}

.loading-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.loading-subtitle {
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 2rem;
}

.loading-progress {
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.loading-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-secondary));
    border-radius: 2px;
    animation: loading-progress 2s ease-in-out infinite;
}

.loading-status {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    font-style: italic;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes glow {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.6; }
}

@keyframes loading-progress {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

/* === NAVIGATION === */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.2rem 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.nav.scrolled {
    padding: 0.8rem 4rem;
    background: rgba(255,255,255,0.98);
    box-shadow: var(--shadow-md);
}

.nav-logo img {
    height: 44px;
    width: 200px;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-gold);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-btn {
    padding: 0.7rem 1.8rem;
    background: var(--accent-gold);
    border: none;
    border-radius: 50px;
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.nav-btn:hover {
    background: var(--accent-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 69, 96, 0.3);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* === HERO WITH 3D LOGO - FIXED CROPPING === */
.hero {
    position: relative;
    height: 100vh;
    max-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 4rem 2rem 4rem; /* Top padding for navbar */
    background: linear-gradient(135deg, var(--bg-main) 0%, var(--bg-secondary) 100%);
    overflow: hidden; /* Changed from visible to hidden to control overflow */
}

#hero-logo-canvas {
    position: absolute;
    left: -10%; /* Adjusted positioning to prevent cropping */
    top: 0;
    width: 55%; /* Increased width to show full 3D model */
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 900px;
    z-index: 2;
    margin-left: 15%; /* Adjusted for better balance */
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1.4rem;
    background: rgba(233, 69, 96, 0.1);
    border: 1px solid var(--accent-gold);
    border-radius: 50px;
    margin-bottom: 2rem;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-gold);
    font-weight: 700;
    white-space: nowrap;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-gold);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 800;
    line-height: 0.95;
    margin-bottom: 2rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.hero-title-line {
    display: block;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 400;
}

.hero-frequencies {
    display: inline-flex;
    gap: 1rem;
    margin-top: 1rem;
}

.hero-frequencies span {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.freq-divider {
    color: var(--text-secondary) !important;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.1rem 2.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    letter-spacing: 0.3px;
}

.hero-btn.primary {
    background: var(--accent-gold);
    color: white;
}

.hero-btn.primary:hover {
    background: var(--accent-gold-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(233, 69, 96, 0.3);
}

.hero-btn.secondary {
    background: white;
    color: var(--text-primary);
    border: 2px solid var(--accent-gold);
}

.hero-btn.secondary:hover {
    background: var(--accent-gold);
    color: white;
}

.scroll-hint {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    z-index: 2;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(180deg, var(--accent-gold) 0%, transparent 100%);
    animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
    0%, 100% { opacity: 0; transform: translateY(-15px); }
    50% { opacity: 1; transform: translateY(0); }
}

/* === 3D PHONE SHOWCASE - HIDDEN (Radio Sangam In Your Pocket card) === */
.phone-showcase {
    display: none !important; /* Hidden on all versions as per requirement */
}

#phone-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.showcase-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 600px;
}

.showcase-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 8vw, 3.5rem);
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 1rem;
}

.showcase-desc {
    font-size: clamp(1rem, 3vw, 1.2rem);
    color: rgba(255,255,255,0.8);
}

/* === FEATURED SHOWS === */
.shows-section {
    height: auto;
    min-height: 80vh;
    padding: 5rem 4rem 1rem 4rem; /* Reduced bottom padding from 3rem to 1rem */
    background: var(--bg-main);
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.shows-header {
    text-align: center;
    margin-bottom: 2rem; /* Reduced from 4rem */
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-secondary);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.carousel-wrapper {
    position: relative;
    margin: 0 -2rem;
}

.shows-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: none;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.3s ease;
}

.shows-nav:hover {
    background: var(--accent-gold);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.shows-nav.prev {
    left: 2rem;
}

.shows-nav.next {
    right: 2rem;
}

.shows-grid {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 2rem 4rem;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.shows-grid::-webkit-scrollbar {
    display: none;
}

.show-card {
    flex: 0 0 320px;
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.show-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.show-image {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

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

.show-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, transparent 100%);
}

.show-time {
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
}

.show-info {
    padding: 1.5rem;
}

.show-info h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.show-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* === ADVERTISING SECTION - GOOGLE AD STYLE === */
.advertising-section {
    height: auto; /* Changed from 100vh to auto */
    min-height: 40vh; /* Reduced minimum height */
    padding: 1rem 4rem 2rem 4rem; /* Reduced top padding */
    background: var(--bg-main);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.advertising-header {
    text-align: center;
    margin-bottom: 0.5rem; /* Reduced from 1rem */
}

.advertising-header .section-label {
    color: var(--text-secondary);
    font-size: 0.7rem;
    letter-spacing: 1px;
}

.advertising-header .section-title {
    display: none; /* Hide the big title for cleaner ad look */
}

/* Google Ad Style Badge */
.ad-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.5rem;
    background: #fef7e0;
    border: 1px solid #e8d48a;
    border-radius: 3px;
    font-size: 0.65rem;
    color: #5f6368;
    font-weight: 500;
    margin-bottom: 1rem;
}

.ad-badge i {
    font-size: 0.6rem;
}

.advertising-carousel {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: auto;
    max-height: 50vh; /* Reduced from 70vh */
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.advertising-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advertising-image {
    max-width: 100%;
    max-height: 45vh; /* Reduced from 65vh */
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    transition: opacity 0.5s ease-in-out;
}

.advertising-image.fade-out {
    opacity: 0;
}

.advertising-image.fade-in {
    opacity: 1;
}

/* Hide the old canvas */
#advertising-canvas {
    display: none;
}

.advertising-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--text-white);
}

.advertising-loader .spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255,255,255,0.2);
    border-top-color: var(--accent-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* === APP SECTION === */
.app-section {
    position: relative;
    height: 100vh;
    max-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--bg-secondary);
    padding: 6rem 4rem;
    overflow: hidden;
}

/* Desktop: Show 3D phone canvas */
@media (min-width: 1280px) {
    .app-section {
        background: var(--bg-secondary);
    }
    
    #app-phone-canvas {
        display: block;
    }
    
    .app-phone-image {
        display: none;
    }
}

/* Tablet & Mobile: Show phone.png as background */
@media (max-width: 1279px) {
    .app-section {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--bg-secondary);
        padding: 4rem 2rem;
    }
    
    #app-phone-canvas {
        display: none !important;
    }
    
    .app-phone-image {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        z-index: 1;
        opacity: 0.7; /* More visible - was 0.3 */
    }
    
    .app-content {
        position: relative;
        z-index: 2;
        max-width: 100%;
        padding: 0;
        text-align: center;
        margin: 0 auto;
    }
    
    .app-title {
        color: var(--text-primary);
        text-shadow: 0 2px 10px rgba(255,255,255,0.8);
        background: rgba(255,255,255,0.6); /* More translucent - was 0.85 */
        padding: 1rem 2rem;
        border-radius: 10px;
        display: inline-block;
        backdrop-filter: blur(5px);
    }
    
    .app-desc {
        background: rgba(255,255,255,0.65); /* More translucent - was 0.9 */
        padding: 1rem 1.5rem;
        border-radius: 8px;
        display: inline-block;
        margin-bottom: 2rem;
        backdrop-filter: blur(5px);
    }
    
    .app-buttons {
        justify-content: center;
    }
}

#app-phone-canvas {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
    z-index: 1;
}

.app-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding-right: 10%;
}

.app-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: var(--text-primary);
}

.app-desc {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.7;
}

.app-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.store-button {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: var(--text-primary);
    color: white;
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.store-button:hover {
    background: var(--accent-gold);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.store-button i {
    font-size: 2rem;
}

.store-button div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.store-button small {
    font-size: 0.75rem;
    opacity: 0.9;
}

.store-button span {
    font-weight: 600;
    font-size: 1.1rem;
}

/* === CONTACT SECTION === */
.contact-section {
    position: relative;
    min-height: 100vh;
    height: auto;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-main) 0%, var(--bg-secondary) 100%);
    padding: 8rem 4rem 4rem 4rem; /* Increased top padding to push content lower */
    overflow: visible; /* Changed to visible to prevent text cropping */
}

#billboard-canvas {
    position: absolute;
    left: 0;
    top: 0;
    width: 45%;
    height: 100%;
    z-index: 1;
}

.contact-content {
    position: relative;
    z-index: 2;
    max-width: 550px; /* Slightly reduced to give more room */
    margin-left: auto;
    margin-right: 3%; /* Reduced from 5% */
    overflow: visible; /* Prevent clipping */
}

.contact-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem); /* Reduced max size */
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.contact-title span {
    display: block;
}

.contact-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.contact-form {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    color: var(--text-primary);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.1);
}

.form-submit {
    width: 100%;
    padding: 1rem;
    background: var(--accent-gold);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.form-submit:hover {
    background: var(--accent-gold-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.contact-info {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item:hover {
    color: var(--accent-gold);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: white;
    transform: translateY(-5px);
}

/* === FOOTER === */
.footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-medium) 100%);
    padding: 4rem 4rem 2rem;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

/* Decorative gradient overlay */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-secondary), var(--accent-gold));
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

/* Footer About Column */
.footer-about {
    padding-right: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 10px;
}

.footer-logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
}

.footer-description {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Footer Social Links */
.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--text-white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social-link:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(233, 69, 96, 0.4);
}

/* Footer Columns */
.footer-column {
    color: var(--text-white);
}

.footer-heading {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-gold);
    border-radius: 2px;
}

.footer-heading-secondary {
    margin-top: 2rem;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent-gold);
    transform: translateX(5px);
}

/* Footer Contact Items */
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
}

.footer-contact-item i {
    color: var(--accent-gold);
    font-size: 1rem;
    margin-top: 0.2rem;
    width: 16px;
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-item a:hover {
    color: var(--accent-gold);
}

/* Radio Stations Grid */
.footer-stations {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1rem;
}

/* Footer Divider */
.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    margin-bottom: 2rem;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.footer-frequencies {
    display: flex;
    gap: 0.75rem;
}

.freq-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(233, 69, 96, 0.2);
    border: 1px solid var(--accent-gold);
    border-radius: 50px;
    color: var(--accent-gold);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Footer Responsive */
@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    
    .footer-about {
        grid-column: 1 / -1;
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 2rem 2rem;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-about {
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-contact-item {
        justify-content: center;
    }
    
    .footer-stations {
        justify-content: center;
    }
    
    .footer-links a:hover {
        transform: translateX(0);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-copyright {
        order: 2;
    }
    
    .footer-frequencies {
        order: 1;
    }
}

/* === MUSIC PLAYER === */
.music-player {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.2rem 2.5rem;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    border-top: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    z-index: 999;
    box-shadow: 0 -4px 30px rgba(0,0,0,0.1);
}

.player-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.player-album {
    width: 55px;
    height: 55px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--bg-secondary);
    border: 2px solid var(--accent-gold);
}

.player-album img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-info {
    display: flex;
    flex-direction: column;
}

.player-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.player-status {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.player-center {
    flex: 0;
}

.player-control-btn {
    width: 50px;
    height: 50px;
    background: var(--accent-gold);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.player-control-btn:hover {
    background: var(--accent-gold-hover);
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(233, 69, 96, 0.3);
}

.player-control-btn i {
    color: white;
    font-size: 1.1rem;
}

.player-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    justify-content: flex-end;
}

.player-right i {
    color: var(--accent-gold);
}

.volume-slider {
    width: 110px;
    height: 4px;
    background: var(--border-color);
    border-radius: 10px;
    outline: none;
    -webkit-appearance: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: var(--accent-gold);
    border-radius: 50%;
    cursor: pointer;
}

.volume-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: var(--accent-gold);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

/* === RESPONSIVE === */

/* TABLET BREAKPOINT (768px - 1279px) */
@media (max-width: 1279px) and (min-width: 768px) {
    .nav {
        padding: 1rem 2rem;
    }
    
    .shows-nav {
        display: none;
    }
    
    /* Hide ALL 3D models on tablet */
    #hero-logo-canvas,
    #billboard-canvas,
    #app-phone-canvas,
    #phone-canvas {
        display: none !important;
    }
    
    .hero {
        padding: 80px 2rem 2rem 2rem; /* Top padding for navbar on tablet */
    }
    
    .hero-content {
        margin-left: 0;
        text-align: center;
    }
    
    .contact-section {
        padding: 4rem 2rem;
        flex-direction: column;
        justify-content: center;
    }
    
    .contact-content {
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
    }
    
    #billboard-canvas {
        display: none !important;
    }
}

@media (max-width: 1024px) {
    .nav {
        padding: 1rem 2rem;
    }
    
    .shows-nav {
        display: none;
    }
    
    #app-phone-canvas {
        display: none !important;
    }
    
    #hero-logo-canvas {
        display: none !important;
    }
    
    #billboard-canvas {
        display: none !important;
    }
}

@media (max-width: 768px) {
    body {
        padding-bottom: 90px;
    }
    
    .nav-menu {
        position: fixed;
        top: 75px;
        left: 0;
        width: 100%;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        gap: 0;
        padding: 2rem;
        border-bottom: 2px solid var(--border-color);
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s ease;
        pointer-events: none;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .nav-link {
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-toggle {
        display: flex;
    }
    
    /* Hide ALL 3D models on mobile */
    #hero-logo-canvas,
    #billboard-canvas,
    #app-phone-canvas,
    #phone-canvas {
        display: none !important;
    }
    
    .hero {
        padding: 70px 2rem 2rem 2rem; /* Top padding for navbar on mobile */
        height: 100vh;
    }
    
    .hero-content {
        margin-left: 0;
    }
    
    .hero-label {
        font-size: 0.65rem;
        padding: 0.6rem 1rem;
    }
    
    .shows-section {
    padding: 3rem 2rem 2rem 2rem;
    height: auto;
    min-height: 60vh;
}
    
    /* MOBILE CAROUSEL - SHOW 1 CARD AT A TIME */
    .shows-grid {
        padding: 1rem 0;
        gap: 1rem;
    }
    
    .show-card {
        flex: 0 0 calc(100vw - 4rem);
        max-width: calc(100vw - 4rem);
    }
    
    .advertising-section {
        padding: 1.5rem 1rem;
        min-height: 40vh; /* Reduced for mobile */
    }
    
    .advertising-carousel {
        max-height: 50vh;
    }
    .app-section {
        height: auto;
        max-height: none;
        overflow: visible;
        padding: 4rem 2rem 5rem; /* extra bottom space so Contact doesn't overlap */
    }

    }

    
    .advertising-image {
        max-height: 45vh;
    }
    
    /* MOBILE CONTACT - NO BILLBOARD */
/* MOBILE CONTACT - NO BILLBOARD */
.contact-section {
    padding: 4rem 2rem;
    justify-content: center;
    flex-direction: column;
    height: auto;          /* was 100vh */
    min-height: 100vh;     /* keep fullscreen feel if content is small */
}

    
    .contact-content {
        order: 1;
        margin-left: 0;
        margin-right: 0;
    }
    
    /* Billboard completely hidden on mobile */
    #billboard-canvas {
        display: none !important;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .music-player {
        padding: 1rem 1.5rem;
        gap: 1rem;
    }
    
    .player-album {
        width: 45px;
        height: 45px;
    }
    
    .player-control-btn {
        width: 45px;
        height: 45px;
    }
    
    .player-right {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-btn {
        width: 100%;
        justify-content: center;
    }
    
    .app-buttons {
        flex-direction: column;
    }
    
    .store-button {
        width: 100%;
    }
}
/* ==== HARD OVERRIDE: MOBILE SHOWS CAROUSEL ============== */
@media (max-width: 768px) {

  /* remove side padding so card can use full width */
  .shows-section {
    padding-left: 0;
    padding-right: 0;
  }

  /* wrapper should not have negative margins on mobile */
  .carousel-wrapper {
    margin: 0;
    padding: 0;
    overflow: hidden;
  }

  /* exactly one “page” wide */
  #shows-grid,
  .shows-grid {
    display: flex;
    padding: 0;
    gap: 0;
    width: 100vw;              /* width = viewport */
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
  }

  .show-card {
    flex: 0 0 100vw;            /* each card = full screen width */
    max-width: 100vw;
    scroll-snap-align: center;  /* snap cleanly to one card */
  }
}

/* === HERO CAROUSEL === */
.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* Changed from cover to contain */
    object-position: center;
    max-width: 100%;
    max-height: 100%;
    padding: 80px 2rem 2rem 2rem; /* Account for navbar and breathing room */
}

/* Desktop image - show on larger screens */
.hero-slide-desktop {
    display: block;
}

/* Mobile image - hide on larger screens */
.hero-slide-mobile {
    display: none;
}

/* Mobile: Show portrait image, hide landscape */
@media (max-width: 768px) {
    .hero-slide-desktop {
        display: none;
    }
    
    .hero-slide-mobile {
        display: block;
        object-fit: cover; /* Cover for portrait image */
        padding: 70px 0 3rem 0; /* Less horizontal padding for portrait */
    }
}

/* Hero carousel navigation dots */
.hero-carousel-dots {
    position: absolute;
    bottom: 5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.hero-carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid var(--accent-gold);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-carousel-dot.active {
    background: var(--accent-gold);
    transform: scale(1.2);
}

.hero-carousel-dot:hover {
    background: var(--accent-gold-hover);
}

/* Hero carousel arrows */
.hero-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    color: var(--text-primary);
}

.hero-carousel-arrow:hover {
    background: var(--accent-gold);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.hero-carousel-arrow.prev {
    left: 2rem;
}

.hero-carousel-arrow.next {
    right: 2rem;
}

/* Hide arrows on mobile */
@media (max-width: 768px) {
    .hero-carousel-arrow {
        width: 40px;
        height: 40px;
    }
    
    .hero-carousel-arrow.prev {
        left: 1rem;
    }
    
    .hero-carousel-arrow.next {
        right: 1rem;
    }
    
    .hero-carousel-dots {
        bottom: 4rem;
    }
    
    .hero-slide-image {
        padding: 70px 1rem 3rem 1rem;
        object-fit: contain;
    }
}

/* Tablet adjustments for hero carousel */
@media (max-width: 1279px) and (min-width: 769px) {
    .hero-slide-image {
        padding: 80px 2rem 2rem 2rem;
        object-fit: contain;
    }
}

/* Desktop fine-tuning */
@media (min-width: 1280px) {
    .hero-slide-image {
        padding: 80px 4rem 3rem 4rem;
        object-fit: contain;
    }
}
/* === CALL BUTTONS IN MUSIC PLAYER === */
.player-call-buttons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.player-call-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.player-call-btn.studio {
    background: var(--primary-dark);
    color: white;
}

.player-call-btn.studio:hover {
    background: var(--primary-medium);
    transform: translateY(-2px);
}

.player-call-btn.sales {
    background: var(--accent-gold);
    color: white;
}

.player-call-btn.sales:hover {
    background: var(--accent-gold-hover);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .player-call-buttons {
        gap: 0.3rem;
    }
    
    .player-call-btn {
        padding: 0.4rem 0.5rem;
    }
    
    .player-call-btn span {
        display: none;
    }
}
/* ==== LAPTOP HEIGHT FIX v2: keep hero centered but more compact ==== */
@media (min-width: 1024px) and (max-height: 900px) {

    /* Slightly less vertical padding so we gain some room */
    .hero {
        padding-top: 70px;          /* default was 80px */
        padding-bottom: 1.25rem;    /* a bit tighter */
    }

    /* Center the slide content again */
    .hero-slide {
        align-items: center;        /* back from flex-start → center */
        justify-content: center;
    }

    /* Main text block a bit narrower/compact */
    .hero-content {
        max-width: 820px;           /* down from 900px */
    }

    /* "Where Music / Meets Culture" */
    .hero-title {
        font-size: clamp(2.4rem, 5vw, 3.6rem);  /* smaller than global */
        margin-bottom: 1.5rem;                  /* was 2rem */
    }

    /* "Premium Telugu Radio Experience" + frequencies */
    .hero-subtitle {
        font-size: 1rem;             /* fix close to lower end of clamp */
        margin-bottom: 2rem;         /* was 3rem */
    }

    .hero-frequencies span {
        font-size: 1.05rem;          /* slightly smaller than 1.3rem */
    }

    /* Buttons spacing */
    .hero-cta {
        margin-top: 1.5rem;
        gap: 0.75rem;
    }

    /* Kill the scroll hint to save a bit of vertical space */
    .scroll-hint {
        display: none;
    }
}

/* ==== MOBILE NAV LOGO (different file + size) ==== */
@media (max-width: 768px) {
    .nav-logo {
        width: 140px;                    /* adjust as you like */
        height: 40px;                    /* mobile logo height */
        background-image: url("../img/logo2.png");  /* <-- IMPORTANT */
        background-size: contain;
        background-repeat: no-repeat;
        background-position: left center;
    }

    /* Hide the desktop <img> on mobile */
    .nav-logo img {
        display: none;
    }
}


