@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --primary-color: #D2691E;
    --primary-dark: #A0522D;
    --primary-light: #F4A460;
    --secondary-color: #FFD700;
    --bg-color: #FFF8DC;
    --card-bg: rgba(255, 255, 255, 0.95);
    --text-dark: #3E2723;
    --text-light: #6D4C41;
    --shadow: 0 8px 32px rgba(139, 69, 19, 0.15);
    --shadow-hover: 0 12px 48px rgba(139, 69, 19, 0.25);
    --gradient: linear-gradient(135deg, #D2691E 0%, #CD853F 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Admin Button */
.admin-btn {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 1000;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: float 3s ease-in-out infinite;
}

.admin-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.admin-btn:active {
    transform: translateY(-1px) scale(1.02);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 100px 20px 60px 20px;
    background: url('/images/hero.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: visible;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(210, 105, 30, 0.85) 0%, rgba(139, 69, 19, 0.75) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem 2rem 4rem 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    margin-bottom: 1rem;
    animation: bounceIn 1.2s ease-out;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Buttons */
.btn-primary {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
    background: var(--secondary-color);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-icon {
    font-size: 1.5rem;
    animation: ring 2s ease-in-out infinite;
}

.btn-text {
    font-size: 1.1rem;
}

.status-message {
    margin-top: 1.5rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    color: white;
    font-weight: 500;
    display: inline-block;
    min-height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-message.success {
    background: rgba(76, 175, 80, 0.3);
}

.status-message.error {
    background: rgba(244, 67, 54, 0.3);
}

/* Tutorial Link */
.tutorial-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-top: 1rem;
}

.tutorial-link:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.tutorial-link:active {
    transform: translateY(0);
}

/* Schedules Section */
.schedules {
    padding: 5rem 2rem;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-weight: 700;
}

.schedules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.schedule-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.schedule-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.schedule-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

.schedule-card:hover::before {
    transform: scaleX(1);
}

.schedule-time {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.schedule-description {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 500;
}

.schedule-badge {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.4rem 1rem;
    background: var(--gradient);
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Products Carousel */
.products {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #FFF8DC 0%, #FFEFD5 100%);
}

.carousel {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 2rem;
    padding: 2rem 0;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #f0f0f0;
}

.carousel::-webkit-scrollbar {
    height: 8px;
}

.carousel::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

.carousel::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.product-card {
    min-width: 300px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, #D2691E 0%, #CD853F 100%);
}

.product-info {
    padding: 1.5rem;
}

.product-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.product-description {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Ads Section */
.ads {
    padding: 5rem 2rem;
    background: white;
}

.ads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.ad-card {
    background: linear-gradient(135deg, #FFF3E0 0%, #FFE0B2 100%);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.ad-card::before {
    content: '📢';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 2rem;
    opacity: 0.2;
}

.ad-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary-color);
}

.ad-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.ad-description {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.ad-link {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: var(--gradient);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.ad-link:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(210, 105, 30, 0.3);
}

/* WhatsApp Section */
.whatsapp-section {
    margin-top: 3rem;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(25px);
    border-radius: 40px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.whatsapp-section h3 {
    font-size: 2rem;
    margin-bottom: 0.8rem;
    color: white;
    font-weight: 800;
}

.whatsapp-section>p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 3rem 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 3px solid rgba(255, 255, 255, 0.3);
}

.divider span {
    padding: 0 2rem;
    color: white;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.whatsapp-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.whatsapp-input-container {
    position: relative;
    width: 100%;
}

.whatsapp-icon {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    z-index: 5;
    pointer-events: none;
}

.whatsapp-input {
    width: 100%;
    padding: 1.3rem 2rem 1.3rem 4rem !important;
    border: 4px solid rgba(255, 255, 255, 0.4);
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    font-size: 1.2rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.whatsapp-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

.whatsapp-input:focus {
    outline: none;
    border-color: #25D366;
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 0 8px rgba(37, 211, 102, 0.3),
        0 15px 30px rgba(0, 0, 0, 0.2);
    transform: scale(1.02);
}

.whatsapp-input:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.28);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border: none;
    padding: 1.4rem 3rem;
    font-size: 1.4rem;
    font-weight: 800;
    border-radius: 100px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-family: 'Poppins', sans-serif;
    margin-top: 1rem;
}

.btn-whatsapp:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 20px 45px rgba(37, 211, 102, 0.5);
}

.btn-whatsapp:active {
    transform: translateY(-2px) scale(1);
}

.btn-whatsapp:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.whatsapp-status {
    margin-top: 1.5rem;
    padding: 1.5rem 2.5rem;
    background: transparent;
    border-radius: 35px;
    color: white;
    font-weight: 700;
    text-align: center;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 3px solid transparent;
    opacity: 0;
    transform: scale(0.9);
    pointer-events: none;
}

.whatsapp-status.success,
.whatsapp-status.error {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
    min-height: 4rem;
    backdrop-filter: blur(15px);
}

.whatsapp-status.success {
    background: rgba(76, 175, 80, 0.5);
    border: 3px solid rgba(76, 175, 80, 0.7);
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.3);
}

.whatsapp-status.error {
    background: rgba(244, 67, 54, 0.5);
    border: 3px solid rgba(244, 67, 54, 0.7);
    box-shadow: 0 10px 30px rgba(244, 67, 54, 0.3);
}

/* Responsive WhatsApp */
@media (max-width: 768px) {
    .whatsapp-section {
        padding: 2rem 1.5rem;
        margin-top: 2rem;
    }

    .whatsapp-section h3 {
        font-size: 1.5rem;
    }

    .whatsapp-form {
        max-width: 100%;
    }

    .whatsapp-input {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .btn-whatsapp {
        padding: 1.1rem 2rem;
        font-size: 1.1rem;
    }
}

/* Info Section */
.info {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #FFF8DC 0%, #FFE4B5 100%);
}

.info-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.info-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

.info-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.info-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.8;
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: white;
    text-align: center;
    padding: 2rem;
}

.footer-small {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }

    70% {
        transform: scale(0.9);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes ring {

    0%,
    100% {
        transform: rotate(0deg);
    }

    10%,
    30% {
        transform: rotate(-10deg);
    }

    20%,
    40% {
        transform: rotate(10deg);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        min-height: 500px;
    }

    .schedules,
    .info {
        padding: 3rem 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .btn-primary {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}