/* 
   Event Website Redesign - Dark & Premium Theme
   Primary: #0B0B0B (Deep Black)
   Accent: #E50914 (Vibrant Red)
*/

:root {
    /* Colors */
    --bg-black: #0b0b0b;
    --bg-dark-grey: #141414;
    --bg-glass: rgba(20, 20, 20, 0.7);
    --red: #e50914;
    --red-hover: #ff1e1e;
    --red-glow: rgba(229, 9, 20, 0.5);
    --text-white: #f5f5f5;
    --text-muted: #b5b5b5;
    --border-color: #2b2b2b;

    /* Fonts */
    --font-heading: 'Poppins', sans-serif;
    /* Fallback until linked */
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 8rem 0;

    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-smooth: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-black);
    color: var(--text-white);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-body);
    /* Will update to Poppins in HTML head */
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Utilities */
.text-red {
    color: var(--red);
}

.text-muted {
    color: var(--text-muted);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: var(--transition-fast);
    cursor: pointer;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--red);
    color: var(--text-white);
    border: 2px solid var(--red);
    box-shadow: 0 0 15px rgba(229, 9, 20, 0.3);
}

.btn-primary:hover {
    background: transparent;
    box-shadow: 0 0 25px rgba(229, 9, 20, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
}

.btn-secondary:hover {
    background: var(--text-white);
    color: var(--bg-black);
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(11, 11, 11, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem 0;
    transition: var(--transition-fast);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 45px;
    width: auto;
    /* filter: brightness(0) invert(1); removed to show original logo colors */
}

.nav-menu {
    display: flex;
    gap: 3rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-white);
    position: relative;
    opacity: 0.8;
}

.nav-link:hover,
.nav-link.active {
    opacity: 1;
    color: var(--red);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--red);
    transition: var(--transition-fast);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 30px;
    height: 2px;
    background: var(--text-white);
    transition: var(--transition-fast);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

/* Background overlay with gradient */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 80% 20%, rgba(229, 9, 20, 0.15) 0%, transparent 40%),
        linear-gradient(to right, #0b0b0b 40%, rgba(11, 11, 11, 0.4) 100%);
    z-index: -1;
}

/* Background image handling - assuming hero-image.jpg works as cover */
.hero-bg-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    z-index: -2;
    opacity: 0.6;
}

.hero-bg-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mask-image: linear-gradient(to right, transparent, black);
    -webkit-mask-image: linear-gradient(to right, transparent, black);
}

.hero-container {
    width: 100%;
    display: flex;
    /* justify-content: flex-start;  Default */
}

.hero-content {
    max-width: 650px;
    padding-right: 2rem;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-title span {
    color: var(--red);
    text-shadow: 0 0 20px rgba(229, 9, 20, 0.4);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

/* About Section */
.about {
    padding: var(--section-padding);
    background: #0f0f0f;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--red);
    margin: 10px auto 0;
    border-radius: 2px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.about-image {
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    width: calc(100% + 30px);
    height: calc(100% + 30px);
    border: 2px solid var(--red);
    z-index: 1;
    border-radius: 8px;
}

.about-img {
    position: relative;
    z-index: 2;
    border-radius: 8px;
    filter: grayscale(20%) contrast(1.1);
    transition: var(--transition-smooth);
}

.about-img:hover {
    filter: grayscale(0) contrast(1);
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
}

.stat {
    background: var(--bg-dark-grey);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--border-color);
    flex: 1;
    transition: var(--transition-fast);
}

.stat:hover {
    transform: translateY(-5px);
    border-color: var(--red);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.stat h4 {
    font-size: 2.5rem;
    color: var(--red);
    margin-bottom: 0.5rem;
}

.stat p {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Value / Features */
.value-proposition {
    padding: var(--section-padding);
    background: var(--bg-black);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-item {
    background: var(--bg-dark-grey);
    padding: 3rem 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.value-item:hover {
    transform: translateY(-10px);
    border-color: var(--red);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--red);
    font-size: 1.8rem;
    transition: var(--transition-fast);
}

.value-item:hover .value-icon {
    background: var(--red);
    color: white;
    box-shadow: 0 0 20px rgba(229, 9, 20, 0.4);
}

.value-item h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.value-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Services */
.services {
    padding: var(--section-padding);
    background: #0f0f0f;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: var(--bg-dark-grey);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--red);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.service-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-card:hover .service-image::after {
    background: rgba(229, 9, 20, 0.2);
}

.service-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    transition: var(--transition-fast);
}

.service-content {
    padding: 2rem;
}

.service-icon {
    display: inline-flex;
    padding: 12px;
    background: rgba(229, 9, 20, 0.1);
    color: var(--red);
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.service-card ul li {
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
}

.service-card ul li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--red);
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 20px;
}

/* Gallery Section */
.gallery {
    padding: var(--section-padding);
    background: #0f0f0f;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 250px;
    border: 1px solid var(--border-color);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* Contact Section */
.contact {
    padding: var(--section-padding);
    background: var(--bg-black);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-dark-grey);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
    flex-shrink: 0;
}

.contact-details h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-details p {
    color: var(--text-muted);
}

.contact-form {
    background: var(--bg-dark-grey);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 15px;
    border-radius: 6px;
    color: white;
    font-family: inherit;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--red);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 10px rgba(229, 9, 20, 0.1);
}

/* CTA */
.cta {
    padding: 6rem 0;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.9)), url('cta-background.jpg');
    background-size: cover;
    background-attachment: fixed;
    text-align: center;
    position: relative;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(229, 9, 20, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* Footer */
.footer {
    background: #050505;
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-section h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-section p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.footer-section a:hover {
    color: var(--red);
    padding-left: 5px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--bg-dark-grey);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 0.5rem;
    border: 1px solid var(--border-color);
}

.social-links a:hover {
    background: var(--red);
    border-color: var(--red);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: #666;
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .hero-bg-wrapper {
        width: 100%;
        opacity: 0.3;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: black;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.3s;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .about-stats {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
    }

    .about-text h3,
    .service-card h3,
    .value-item h3 {
        font-size: 1.5rem;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-black);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(229, 9, 20, 0.3);
    border-radius: 50%;
    border-top-color: var(--red);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Instagram Feed Section */
.instagram-feed {
    padding: var(--section-padding);
    background: linear-gradient(to right, #000000, #1a1a1a);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
    /* Prevent horizontal scroll */
}

.instagram-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    flex-wrap: wrap;
}

.instagram-text {
    flex: 1;
    min-width: 300px;
}

.instagram-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--text-white);
    /* Fallback for browsers not supporting text-fill-color */
    display: inline-block;
}

/* Ensure text is visible if background-clip doesn't work but text-fill-color does */
@supports (-webkit-background-clip: text) {
    .instagram-text h2 {
        color: transparent;
    }
}

.instagram-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 500px;
}

.instagram-image {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
}

.instagram-image img {
    width: 100%;
    max-width: 250px;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.scan-text {
    color: var(--text-white);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .instagram-content {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .instagram-text {
        margin-bottom: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .instagram-image {
        width: 100%;
    }
}