:root {
    --ocean-blue: #003049;
    --ocean-blue-light: #0077b6;
    --red: #d62828;
    --red-dark: #b11a1a;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --dark-text: #333333;
    --muted-text: #666666;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-text);
    overflow-x: hidden;
}

/* Colors and Buttons */
.text-ocean { color: var(--ocean-blue); }
.text-red { color: var(--red); }
.bg-ocean { background-color: var(--ocean-blue); }
.bg-red { background-color: var(--red); }

.btn-red {
    background-color: var(--red);
    border: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-red:hover {
    background-color: var(--red-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(214, 40, 40, 0.4);
    color: white;
}

.btn-ocean {
    background-color: var(--ocean-blue);
    border: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-ocean:hover {
    background-color: var(--ocean-blue-light);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 48, 73, 0.4);
    color: white;
}

.btn-outline-red {
    border: 2px solid var(--red);
    color: var(--red);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-red:hover {
    background-color: var(--red);
    color: white;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 48, 73, 0.85), rgba(0, 48, 73, 0.85)), url('../images/capa.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
    min-height: 600px;
}

.hero-section h1 {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.logo-header {
    max-height: 80px;
    width: auto;
}

/* Countdown */
.countdown-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    min-width: 100px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.countdown-item span {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    color: var(--red);
}

.countdown-item p {
    margin: 0;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Section Titles */
.section-title {
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--red);
}

.about-section .section-title::after {
    left: 0;
    transform: none;
}

/* Package Cards */
.package-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 15px;
    overflow: hidden;
}

.package-card:hover {
    transform: translateY(-15px);
}

.package-card.featured {
    transform: scale(1.05);
    z-index: 1;
    border: 2px solid var(--red);
}

.package-card.featured:hover {
    transform: scale(1.05) translateY(-15px);
}

.package-card .card-header h3 {
    font-weight: 700;
    letter-spacing: 1px;
}

.price {
    font-weight: 700;
    font-size: 3rem;
}

/* Logos Marquee */
.marquee-container {
    background-color: var(--white);
    overflow: hidden;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 48, 73, 0.1);
}

.marquee-content {
    display: flex;
    animation: marquee 20s linear infinite;
    width: max-content;
}

.marquee-item {
    flex-shrink: 0;
    margin: 0 40px;
    transition: transform 0.3s ease;
}

.marquee-item img {
    height: 50px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.marquee-item:hover {
    transform: scale(1.1);
}

.marquee-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Levitating Cards */
.speaker-card {
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.speaker-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 48, 73, 0.15);
}

/* Partner Logo Grid */
.partner-logo-item {
    padding: 20px;
    background: white;
    border-radius: 10px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
}

.partner-logo-item img {
    max-height: 60px;
    max-width: 100%;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-logo-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: scale(1.05);
}

.partner-logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Speaker Image Standardization */
.speaker-img-wrapper {
    overflow: hidden;
    height: 400px; /* Slightly taller for better portrait view */
    background-color: #f8f9fa; /* Lighter minimalist background */
    display: flex;
    align-items: flex-start; /* Align to top to avoid cutting heads */
    justify-content: center;
}

.speaker-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top; /* Prioritize the face/top of the image */
    transition: all 0.5s ease;
}

/* Minimalist Theme Section */
.theme-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
    border-left: 4px solid var(--red);
}

.theme-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transform: translateX(10px);
}

.theme-speaker-thumb {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.theme-text h6 {
    color: var(--ocean-blue);
    margin-bottom: 2px;
}

.theme-text p {
    font-size: 0.9rem;
    color: var(--muted-text);
    margin-bottom: 0;
}

/* Speaker Detail Page */
.speaker-detail-header {
    background-color: var(--ocean-blue);
    padding: 100px 0 50px;
    color: white;
}

/* Speaker Detail Page Header */
.speaker-detail-header {
    background-color: var(--ocean-blue);
    padding: 100px 0 50px;
    color: white;
}

/* Speaker Detail Page Image */
.speaker-detail-img {
    width: 100%;
    max-width: 450px;
    height: 550px; /* Standard portrait height */
    object-fit: cover;
    object-position: center top; /* Keep face visible */
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.speaker-card:hover .speaker-img {
    transform: scale(1.1);
}

/* Payment Section */
.payment-info {
    border-left: 5px solid var(--red) !important;
}

.form-control:focus, .form-select:focus {
    border-color: var(--ocean-blue);
    box-shadow: 0 0 0 0.25rem rgba(0, 48, 73, 0.1);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    color: white;
    transform: scale(1.1);
}

/* Footer */
.footer hr {
    height: 2px;
    opacity: 0.3;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    .package-card.featured {
        transform: none;
    }
    .package-card.featured:hover {
        transform: translateY(-15px);
    }
    .countdown-item {
        min-width: 70px;
        padding: 10px;
    }
    .countdown-item span {
        font-size: 1.5rem;
    }
    .speaker-img-wrapper {
        height: 250px;
    }
}
