* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #1a1a1a;
    color: #ffffff;
    overflow-x: hidden;
    max-width: 100vw;
}

/* Navigation */
.navbar {
    background-color: #1a1a1a;
    padding: 1.2rem 3rem;
    position: -webkit-sticky; /* Safari support */
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    width: 100%;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.nav-menu {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #a78bfa;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.social-icons a {
    text-decoration: none;
    color: #ffffff;
    display: flex;
    align-items: center;
    transition: color 0.3s, transform 0.3s;
}

.social-icons a:hover {
    color: #a78bfa;
    transform: translateY(-2px);
}

.social-icons svg {
    width: 20px;
    height: 20px;
}

/* Hero Section - Image/Video clipped by MXXR letters */
.hero-section {
    background-color: #1a1a1a;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    text-align: center;
    position: relative;
    background-color: #1a1a1a;
    display: inline-block;
}

.hero-bg-video,
.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    /* Mask using the inverted image - black letters will show video */
    -webkit-mask-image: url('images/mxxrmaskinverted.png');
    mask-image: url('images/mxxrmaskinverted.png');
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center center;
    mask-position: center center;
}

.mxxr-logo-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 2;
    opacity: 1;
}

.cta-btn {
    background-color: #7C3AED;
    color: #ffffff;
    padding: 16px 48px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    white-space: nowrap;
}

.cta-btn:hover {
    background-color: #6D28D9;
    transform: translateX(-50%) scale(1.05);
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}

/* Bartender Video Section */
.bartender-video-section {
    background-color: #1a1a1a;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bartender-video {
    max-width: 1200px;
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    object-fit: cover;
    max-height: 600px;
}

/* Legacy support for bartender image */
.bartender-image-section {
    background-color: #1a1a1a;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bartender-full-img {
    max-width: 1200px;
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    object-fit: cover;
    max-height: 600px;
}

/* Tagline Section Below Video */
.tagline-section {
    background-color: #1a1a1a;
    padding: 2rem 2rem 3rem;
    text-align: center;
}

.tagline-text {
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.6;
    color: #ffffff;
    max-width: 900px;
    margin: 0 auto;
}

.purple-text {
    color: #d8b5ff;
    font-weight: 600;
}

/* Socialize Section */
.socialize-section {
    background-color: #1a1a1a;
    padding: 4rem 2rem;
    position: relative;
}

.socialize-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.socialize-left {
    flex-shrink: 0;
    width: 280px;
}

.socialize-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
}

.socialize-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
}

.socialize-card {
    background-color: rgba(30, 30, 30, 0.85);
    border: 2px solid #444;
    border-radius: 12px;
    padding: 1.2rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    transition: all 0.3s;
    width: 400px;
}

.socialize-card:nth-child(1) {
    /* SOCIALIZE - aligned left */
    margin-left: 0;
}

.socialize-card:nth-child(2) {
    /* SHARE - offset to the right */
    margin-left: 50px;
}

.socialize-card:nth-child(3) {
    /* SIP - offset more to the right */
    margin-left: 100px;
}

.socialize-card:hover {
    border-color: #a78bfa;
    background-color: rgba(50, 50, 50, 0.9);
    transform: translateX(-5px);
}

.card-icon {
    flex-shrink: 0;
}

.card-icon svg {
    color: #a78bfa;
    width: 28px;
    height: 28px;
}

.card-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    color: #ffffff;
}

.card-content p {
    font-size: 0.75rem;
    color: #b0b0b0;
    line-height: 1.3;
}

/* MXXR Watermark - Between socialize and carousel */
.mxxr-watermark-section {
    background-color: #1a1a1a;
    padding: 2rem 2rem 3rem;
    text-align: center;
    overflow: hidden;
}

.mxxr-watermark-text {
    font-size: 8rem;
    font-weight: 900;
    font-style: italic;
    color: #2d2d2d;
    letter-spacing: 0.05em;
    line-height: 1;
    margin: 0;
}

/* Carousel Section - 3 images at a time with center focus */
.carousel-section {
    background-color: #1a1a1a;
    padding: 2rem 0;
    overflow: hidden;
}

.carousel-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    overflow: visible;
    position: relative;
}

.carousel-track {
    display: flex;
    gap: 1rem;
    padding: 2rem 0;
    justify-content: center;
    transition: opacity 0.3s ease-in-out;
}

.carousel-img {
    width: 350px;
    height: 350px;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 8px;
    opacity: 0.5;
    transform: scale(0.85);
    transition: all 0.8s ease;
}

.carousel-img.center {
    opacity: 1;
    transform: scale(1);
    z-index: 10;
}

/* Section CTA Buttons - Overlaid on images */
.image-btn-wrapper {
    position: relative;
    display: block;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.image-btn-wrapper img {
    display: block;
    width: 100%;
    border-radius: 16px;
}

.image-btn-wrapper .section-cta-btn {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: #7C3AED;
    color: white;
    border: none;
    padding: 16px 48px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    z-index: 10;
    white-space: nowrap;
}

.image-btn-wrapper .section-cta-btn:hover {
    transform: translateX(-50%) scale(1.05);
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}

/* Venues Sections - Constrained width to match other sections */
.venues-hero,
.venues-stats,
.why-venues {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #1a1a1a;
    padding: 0 2rem;
}

.venues-section-img {
    width: 100%;
    max-width: 1200px;
    height: auto;
    display: block;
    border-radius: 16px;
}

/* Contact Venues Section */
.contact-venues {
    background-color: #1a1a1a;
    padding: 5rem 2rem;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
}

.purple-highlight {
    color: #8b5cf6;
}

.contact-right {
    display: flex;
    justify-content: center;
}

.venues-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    max-width: 500px;
}

.venues-form input {
    padding: 1.2rem 1.5rem;
    background-color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    color: #1a1a1a;
}

.venues-form input::placeholder {
    color: #999999;
}

.venues-submit-btn {
    background-color: #8b5cf6;
    color: #ffffff;
    padding: 1.2rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.venues-submit-btn:hover {
    background-color: #7c3aed;
    transform: translateY(-2px);
}

/* Brands Sections */
.brands-hero,
.brands-partner {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #1a1a1a;
    padding: 0 2rem;
}

.brands-section-img {
    width: 100%;
    max-width: 1200px;
    height: auto;
    display: block;
    border-radius: 16px;
}

/* Contact Brands Section */
.contact-brands {
    background-color: #1a1a1a;
    padding: 5rem 2rem;
}

.brands-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    max-width: 500px;
}

.brands-form input {
    padding: 1.2rem 1.5rem;
    background-color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    color: #1a1a1a;
}

.brands-form input::placeholder {
    color: #999999;
}

.brands-submit-btn {
    background-color: #8b5cf6;
    color: #ffffff;
    padding: 1.2rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.brands-submit-btn:hover {
    background-color: #7c3aed;
    transform: translateY(-2px);
}

/* Mixologist Sections */
.mixologist-hero {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #1a1a1a;
    padding: 0 2rem;
}

.mixologist-section-img {
    width: 100%;
    max-width: 1200px;
    height: auto;
    display: block;
    border-radius: 16px;
}

/* Contact Mixologist Section */
.contact-mixologist {
    background-color: #1a1a1a;
    padding: 5rem 2rem;
}

.mixologist-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    max-width: 500px;
}

.mixologist-form input {
    padding: 1.2rem 1.5rem;
    background-color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    color: #1a1a1a;
}

.mixologist-form input::placeholder {
    color: #999999;
}

.mixologist-submit-btn {
    background-color: #8b5cf6;
    color: #ffffff;
    padding: 1.2rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.mixologist-submit-btn:hover {
    background-color: #7c3aed;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0a0a0a;
    padding: 0;
}

.footer-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
}

.footer-bg {
    width: 100%;
    height: auto;
    display: block;
}

.footer-content {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    padding: 0 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.footer-left {
    text-align: left;
}

.footer-center {
    text-align: center;
}

.footer-right {
    text-align: right;
}

.footer-left p {
    color: #ffffff;
    font-size: 0.9rem;
    margin: 0;
}

.footer-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-link:hover {
    color: #a78bfa;
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-title {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        bottom: 1rem;
        padding: 0 2rem;
    }
    
    .footer-left,
    .footer-right {
        text-align: center;
    }
}

/* Features Section */
.features-section {
    padding: 4rem 3rem;
    background-color: #1a1a1a;
}

.features-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
}

.feature-left {
    background-color: #2d2d2d;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-box {
    background-color: #2d2d2d;
    border: 2px solid #3d3d3d;
    border-radius: 16px;
    padding: 3rem 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-box h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.feature-box p {
    font-size: 1rem;
    color: #b0b0b0;
    line-height: 1.6;
}

/* Large MXXR Background */
.mxxr-background {
    background-color: #0d0d0d;
    padding: 8rem 2rem;
    text-align: center;
    overflow: hidden;
}

.mxxr-watermark {
    font-size: 15rem;
    font-weight: 900;
    font-style: italic;
    color: #2d2d2d;
    letter-spacing: 0.05em;
    line-height: 1;
}

/* Gallery Section */
.gallery-section {
    padding: 0;
    background-color: #1a1a1a;
}

.gallery-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.gallery-row img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

/* Signup Section */
.signup-section {
    background-color: #0d0d0d;
    padding: 6rem 2rem;
    text-align: center;
}

.signup-title {
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 3rem;
    color: #ffffff;
}

.signup-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.signup-form input {
    padding: 1.2rem;
    background-color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    color: #1a1a1a;
}

.signup-form input::placeholder {
    color: #888888;
}

/* Footer */
.footer {
    background-color: #000000;
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-cocktail img {
    width: 200px;
    height: auto;
}

.footer-branding {
    text-align: center;
}

.footer-logo {
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-size: 0.9rem;
    color: #888888;
    letter-spacing: 0.1em;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid #2d2d2d;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #666666;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #666666;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ffffff;
}

/* Responsive */
@media (max-width: 1024px) {
    .features-container {
        grid-template-columns: 1fr;
    }
    
    .mxxr-logo-img {
        max-width: 600px;
    }
    
    .mxxr-watermark {
        font-size: 8rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .navbar::-webkit-scrollbar {
        display: none;
    }
    
    .nav-container {
        padding: 0 1.5rem;
        min-width: min-content;
    }
    
    .nav-menu {
        display: flex;
        font-size: 0.85rem;
        gap: 1.5rem;
        white-space: nowrap;
        flex-wrap: nowrap;
    }
    
    .hero-section {
        padding: 1rem;
    }
    
    .hero-content {
        width: 100%;
        max-width: 100%;
        min-height: auto;
    }
    
    .mxxr-logo-img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }
    
    /* Button stays absolute with percentage-based positioning to scale with mask */
    .cta-btn {
        position: absolute;
        bottom: 4%;
        left: 50%;
        transform: translateX(-50%);
        padding: 0.7rem 1.5rem;
        font-size: 0.8rem;
    }
    
    .cta-btn:hover {
        transform: translateX(-50%) translateY(-2px);
    }
    
    .tagline-section {
        padding: 1.5rem 1rem 2rem;
    }
    
    .tagline-text {
        font-size: 1.1rem;
        line-height: 1.5;
    }
    
    .bartender-image-section,
    .bartender-video-section {
        padding: 1rem;
    }
    
    .bartender-full-img,
    .bartender-video {
        max-height: 400px;
    }
    
    .socialize-section {
        padding: 2rem 1rem;
    }
    
    .socialize-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .socialize-left {
        width: 100%;
    }
    
    .socialize-right {
        max-width: 100%;
    }
    
    .socialize-card {
        width: 100%;
        margin-left: 0 !important;
        padding: 1rem;
    }
    
    .socialize-card h3 {
        font-size: 1.1rem;
    }
    
    .socialize-card p {
        font-size: 0.7rem;
    }
    
    .mxxr-watermark-text {
        font-size: 4rem;
    }
    
    .carousel-section {
        padding: 2rem 1rem;
    }
    
    .carousel-wrapper {
        max-width: 100%;
        overflow: hidden;
    }
    
    .carousel-track {
        gap: 0.5rem;
    }
    
    .carousel-img {
        width: 200px;
        height: 200px;
    }
    
    .venues-hero,
    .venues-stats,
    .why-venues,
    .brands-hero,
    .brands-partner,
    .mixologist-hero {
        padding: 1rem;
    }
    
    .venues-section-img,
    .brands-section-img,
    .mixologist-section-img {
        border-radius: 8px;
    }
    
    .contact-venues,
    .contact-brands,
    .contact-mixologist {
        padding: 3rem 1rem;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .venues-form,
    .brands-form,
    .mixologist-form {
        max-width: 100%;
    }
    
    .footer {
        padding: 1rem;
    }
    
    .footer-wrapper {
        position: relative;
    }
    
    .footer-bg {
        width: 100%;
        height: auto;
    }
    
    .footer-content {
        padding: 0 1rem;
        bottom: 2%;
        font-size: 0.7rem;
        grid-template-columns: 1fr;
        text-align: center;
        gap: 0.3rem;
    }
    
    .footer-left,
    .footer-center,
    .footer-right {
        text-align: center;
    }
    
    .footer-left p,
    .footer-link {
        font-size: 0.7rem;
    }
    
    /* Section CTA buttons responsive */
    .image-btn-wrapper .section-cta-btn {
        bottom: 20px;
        padding: 12px 32px;
        font-size: 0.9rem;
    }
}

/* Extra small devices (portrait phones) */
@media (max-width: 480px) {
    .navbar {
        padding: 0.8rem 0;
    }
    
    .nav-container {
        padding: 0 0.8rem;
    }
    
    .nav-menu {
        display: flex;
        font-size: 0.8rem;
        gap: 1.2rem;
        white-space: nowrap;
        flex-wrap: nowrap;
    }
    
    .social-icons {
        gap: 0.8rem;
        margin-left: 1rem;
    }
    
    .social-icons svg {
        width: 16px;
        height: 16px;
    }
    
    .hero-section {
        padding: 0.5rem;
    }
    
    .hero-content {
        min-height: auto;
    }
    
    .cta-btn {
        bottom: 3%;
        padding: 0.6rem 1.2rem;
        font-size: 0.75rem;
    }
    
    .tagline-text {
        font-size: 1rem;
    }
    
    .socialize-card {
        padding: 0.8rem;
        gap: 0.8rem;
    }
    
    .card-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .mxxr-watermark-text {
        font-size: 3rem;
    }
    
    .carousel-section {
        padding: 1rem 0.5rem;
    }
    
    .carousel-img {
        width: 150px;
        height: 150px;
    }
    
    .contact-title {
        font-size: 1.8rem;
    }
    
    .footer-content {
        gap: 0.5rem;
        bottom: 2%;
        font-size: 0.65rem;
    }
    
    .footer-left p,
    .footer-link {
        font-size: 0.65rem;
    }
    
    /* Section CTA buttons extra small */
    .image-btn-wrapper .section-cta-btn {
        bottom: 15px;
        padding: 10px 24px;
        font-size: 0.8rem;
    }
}

/* Landscape orientation on phones */
@media (max-height: 500px) and (orientation: landscape) {
    .navbar {
        padding: 0.5rem 1rem;
    }
    
    .nav-menu {
        display: flex !important;
        font-size: 0.85rem;
        gap: 1.5rem;
    }
    
    .hero-section {
        padding: 0;
        overflow: hidden;
        width: 100vw;
        max-width: 100%;
    }
    
    .hero-content {
        width: 100%;
        max-width: 100%;
        display: block;
        position: relative;
        overflow: hidden;
    }
    
    .mxxr-logo-img {
        width: 100%;
        max-width: 100%;
        height: auto;
        display: block;
        position: relative;
        z-index: 2;
    }
    
    .hero-bg-image,
    .hero-bg-video {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 1;
    }
    
    .cta-btn {
        bottom: 5%;
        padding: 0.5rem 1.2rem;
        font-size: 0.75rem;
    }
}