:root {
    --primary-color: #e60000;
    /* Pure stark red */
    --primary-hover: #b30000;
    --black: #0a0a0a;
    --dark-gray: #1a1a1a;
    --light-gray: #f4f4f4;
    --white: #ffffff;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--white);
    background-color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.btn {
    font-family: var(--font-heading);
    text-transform: uppercase;
}

.text-red {
    color: var(--primary-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography Classes */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 30px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 0, 0, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--black);
    transform: translateY(-2px);
}

.btn-large {
    padding: 20px 40px;
    font-size: 1.3rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.9)), url('PHOTO COSMO ZIMIK.jpg') center/cover no-repeat;
    /* fallback background if image missing */
    background-color: var(--black);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(230, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    padding: 20px;
    animation: fadeIn 1s ease-out;
}

.main-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.subtitle {
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--light-gray);
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

.mission-statement {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-style: italic;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-family: var(--font-heading);
}

.cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Event Details Section */
.event-details {
    padding: 80px 0;
    background-color: var(--dark-gray);
    position: relative;
}

.event-details::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 40px;
    background: var(--dark-gray);
    transform: skewY(-2deg);
    z-index: 1;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.detail-card {
    background-color: var(--black);
    padding: 40px 20px;
    border-radius: 8px;
    text-align: center;
    border-bottom: 4px solid var(--primary-color);
    transition: transform 0.3s ease;
}

.detail-card:hover {
    transform: translateY(-10px);
}

.detail-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.detail-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.detail-card p {
    font-size: 1.1rem;
    color: var(--light-gray);
}

.highlight-card {
    background: linear-gradient(135deg, rgba(230, 0, 0, 0.1) 0%, var(--black) 100%);
    border: 1px solid rgba(230, 0, 0, 0.3);
    border-bottom: 4px solid var(--primary-color);
}

.highlight-card .price {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--white);
    font-family: var(--font-heading);
}

/* About Section */
.about-evening {
    padding: 100px 0;
    background-color: var(--black);
}

.content-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.text-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.text-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #ccc;
}

.important-info {
    background-color: var(--dark-gray);
    padding: 30px;
    border-left: 4px solid var(--primary-color);
    margin-top: 30px;
}

.important-info p {
    margin-bottom: 10px;
    color: var(--white);
    font-size: 1.2rem;
}

.action-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.action-link:hover {
    color: var(--white);
}

.image-content img {
    width: 100%;
    border-radius: 8px;
    box-shadow: -15px 15px 0px rgba(230, 0, 0, 0.5);
    transition: transform 0.4s ease;
}

.image-content img:hover {
    transform: scale(1.02);
}

.no-image {
    height: 400px;
    background-color: var(--dark-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--primary-color);
    border-radius: 8px;
}

.no-image::after {
    content: "Image Placeholder";
    color: #666;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Testimonies Section */
.testimonies {
    padding: 80px 0;
    background-color: var(--dark-gray);
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.testimony-wrapper {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimony-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.missing-img {
    padding: 50px;
    background: var(--black);
    border: 1px solid var(--primary-color);
    color: #888;
    border-radius: 8px;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(45deg, var(--black), #2a0000);
    border-top: 4px solid var(--primary-color);
}

.cta-section h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: #ddd;
}

.cta-section .btn {
    animation: pulse 2s infinite ease-in-out;
}

/* Footer */
footer {
    background-color: #000;
    padding: 60px 0 20px;
    border-top: 1px solid #222;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.footer-content p {
    color: #888;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: var(--primary-color);
}

.social-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.contact a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
}

.contact a:hover {
    color: var(--primary-color);
}

.copyright {
    text-align: center;
    color: #555;
    padding-top: 20px;
    border-top: 1px solid #1a1a1a;
}

/* Payment & Sponsors Section */
.payment-sponsors {
    padding: 80px 0;
    background-color: var(--dark-gray);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.payment-split {
    align-items: flex-start;
}

.text-center {
    text-align: center;
}

.payment-info h2,
.sponsor-info h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.payment-info p,
.sponsor-info p {
    color: var(--light-gray);
    margin-bottom: 30px;
}

.qr-code {
    max-width: 250px;
    border: 4px solid var(--white);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background: var(--white);
}

.sponsor-logos {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    align-items: center;
}

.sponsor-logo {
    max-width: 180px;
    max-height: 180px;
    object-fit: contain;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s ease;
}

.sponsor-logo:hover {
    transform: scale(1.05);
}

/* Map Link Card */
.map-link-card {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.view-map-text {
    display: block;
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: bold;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.map-link-card:hover .view-map-text {
    opacity: 1;
    transform: translateY(0);
}

/* Flashing Phone Button */
.flashing-phone-btn {
    position: relative;
    overflow: hidden;
    min-width: 220px;
}

.flashing-phone-btn span {
    display: block;
    transition: opacity 0.3s ease;
}

.flashing-phone-btn .text-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    width: 100%;
    color: var(--primary-color);
    font-weight: 900;
}

@keyframes flashText {

    0%,
    45% {
        opacity: 1;
    }

    50%,
    95% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes flashNumber {

    0%,
    45% {
        opacity: 0;
    }

    50%,
    95% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.flashing-phone-btn .text-call {
    animation: flashText 4s infinite;
}

.flashing-phone-btn .text-number {
    animation: flashNumber 4s infinite;
}

.flashing-phone-btn:hover .text-call,
.flashing-phone-btn:hover .text-number {
    animation: none;
    /* Stop flashing on hover */
}

.flashing-phone-btn:hover .text-number {
    opacity: 1;
}

.flashing-phone-btn:hover .text-call {
    opacity: 0;
}

/* Footer Credit */
.site-credit {
    margin-top: 5px;
    font-size: 0.9rem;
    color: #444;
}

.site-credit a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-credit a:hover {
    color: var(--primary-color);
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    border: 3px solid var(--primary-color);
    border-radius: 8px;
    background-color: var(--black);
    padding: 20px;
    animation: fadeIn 0.3s;
}

.modal-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
}

.close-modal {
    position: absolute;
    top: -15px;
    right: -15px;
    background: var(--primary-color);
    color: var(--white);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    z-index: 1001;
}

.close-modal:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .content-split {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .main-title {
        font-size: 3rem;
    }

    .cta-actions {
        flex-direction: column;
    }
}