/* 
   Radio Caldas - Modern Rustic Retro Design
   Theme: Village Warmth + 70s/80s/90s Pop Energy
*/

@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&family=Outfit:wght@300;400;600;800&display=swap');

:root {
    /* Color Palette */
    --primary: #c0392b;
    /* Terracotta / Brick Red */
    --primary-dark: #a93226;
    --secondary: #f1c40f;
    /* Vintage Gold / Mustard */
    --accent: #2980b9;
    /* Retro Blue */
    --dark: #2c3e50;
    /* Vinyl Black / Dark Slate */
    --light: #fdfbf7;
    /* Parchment / Off-white */
    --text: #2c3e50;
    --text-light: #7f8c8d;

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --border-radius: 16px;

    /* Fonts */
    --font-display: 'Abril Fatface', cursive;
    --font-body: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--light);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: radial-gradient(#e5e5e5 1px, transparent 1px);
    background-size: 20px 20px;
    overscroll-behavior-y: none;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    color: var(--primary);
    line-height: 1.1;
    letter-spacing: 1px;
}

h1 {
    font-size: 4rem;
    text-shadow: 3px 3px 0px var(--secondary);
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--secondary);
    transform: skew(-15deg);
}

p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Layout Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

/* Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 35px;
    font-family: var(--font-body);
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(192, 57, 43, 0.3);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--dark);
}

.btn-secondary:hover {
    background-color: #f39c12;
    transform: translateY(-5px);
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.3);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: var(--secondary);
}

.header-tagline {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--dark);
    text-shadow: 1px 1px 0px var(--secondary);
    transform: rotate(-2deg);
    margin: 0 20px;
    display: none;
    /* Hidden on mobile by default */
    flex: 1;
    /* Take up available space */
    text-align: center;
    /* Center text */
}

@media (min-width: 768px) {
    .header-tagline {
        display: block;
    }
}

/* Hero Section */
.hero {
    min-height: auto;
    /* Removed 100vh to avoid huge gap */
    display: flex;
    align-items: center;
    padding-top: 71px;
    /* Reduced by another 15% from 83px */
    padding-bottom: 47px;
    /* Reduced by another 15% from 55px */
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    z-index: 2;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.mini-player {
    background: rgb(255, 255, 255);
    padding: 5px 15px;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    border: 2px solid var(--secondary);
}

.mini-player audio {
    height: 40px;
    max-width: 250px;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.radio-card {
    background: white;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    width: 350px;
    transform: rotate(-5deg);
    border: 8px solid var(--dark);
    position: relative;
    margin-top: -50px;
    /* Moved up significantly closer */
    margin-left: 40px;
    /* Shifted 1cm to the right on desktop */
}

.radio-card::before {
    content: '';
    position: absolute;
    top: -30px;
    /* Adjusted string start */
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 40px;
    /* Short string */
    background: var(--dark);
    z-index: -1;
}

.radio-card img {
    width: 100%;
    border-radius: 20px;
    display: block;
}

.hero-bg-shape {
    position: absolute;
    top: 50%;
    right: -10%;
    transform: translateY(-50%);
    width: 60vw;
    height: 60vw;
    background: var(--secondary);
    border-radius: 50%;
    opacity: 0.1;
    z-index: 1;
    pointer-events: none;
}

/* Features Section */
.features {
    background-color: rgb(255, 255, 255);
    position: relative;
    padding: 23px 0;
    /* Reduced by another 20% from 29px */
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.feature-card {
    background: var(--light);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.feature-card:hover {
    border-color: var(--secondary);
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
    display: inline-block;
    padding: 20px;
    background: rgba(192, 57, 43, 0.1);
    border-radius: 50%;
}

/* Download Section */
.download-section {
    padding: 40px 0;
    background: var(--dark);
    color: white;
    text-align: center;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2334495e' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.download-section h2 {
    color: var(--secondary);
}

.download-section p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Sponsors Section */
.sponsors-section {
    background-color: rgb(252, 249, 249);
    text-align: center;
    padding: 20px 0;
    /* Reduced padding */
    border-bottom: 1px solid #eee;
    margin-top: var(--header-height);
    /* Ensure it clears the fixed header */
}

.sponsors-grid {
    display: flex;
    /* Changed to flex for better control of "juntitos" */
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    /* Reduced gap */
    align-items: center;
    margin-top: 0;
}

.sponsor-item {
    padding: 5px;
    /* Reduced padding */
    transition: var(--transition);
    /* Removed filter and opacity */
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    /* Fixed height for alignment */
    width: 100px;
    /* Fixed width for uniformity */
}

.sponsor-item:hover {
    transform: scale(1.05);
}

.sponsor-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Footer */
.footer {
    background-color: var(--primary);
    color: white;
    padding: 10px 0;
    /* Reduced padding significantly */
    text-align: center;
}

.footer p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    /* Removed margin for tighter fit */
}

.footer a:hover {
    color: var(--secondary);
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 56px;
        /* Reduced by another 15% from 66px */
        padding-bottom: 28px;
        /* Reduced by another 15% from 33px */
    }

    .hero-content {
        margin-bottom: 60px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        text-align: center;
    }

    .mini-player {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .mini-player audio {
        width: 100%;
    }

    .radio-card {
        width: 280px;
        margin-left: 0;
        /* Reset shift on mobile */
    }

    h1 {
        font-size: 3rem;
    }
}