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

body {
    font-family: 'Montserrat', sans-serif;
    overflow: hidden;
    height: 100vh;
}

.brand-selector {
    display: flex;
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.brand-side {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.brand-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.brand-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.emporio-side .brand-overlay {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.85) 0%, rgba(101, 67, 33, 0.9) 100%);
}

.angatti-side .brand-overlay {
    background: linear-gradient(135deg, rgba(34, 34, 34, 0.85) 0%, rgba(0, 0, 0, 0.9) 100%);
}

.brand-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 2rem;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 500px;
}

.brand-logo {
    margin-bottom: 2rem;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand-logo img {
    max-width: 250px;
    height: auto;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
}

.brand-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.9;
    margin-bottom: 1rem;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.store-badge {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.3) 0%, rgba(18, 140, 126, 0.3) 100%);
    border-color: rgba(37, 211, 102, 0.5);
    color: #fff;
}

.store-badge i {
    font-size: 1rem;
}

.brand-hover-content {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

/* Mobile buttons - hidden on desktop */
.brand-mobile-btn {
    display: none;
}

.brand-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-weight: 300;
}

.brand-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.brand-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.brand-btn i {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand-btn:hover i {
    transform: translateX(5px);
}

/* Hover Effects */
.brand-side:hover {
    flex: 1.2;
    z-index: 10;
}

.brand-side:hover .brand-bg-image {
    transform: scale(1.1);
}

.brand-side:hover .brand-overlay {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.brand-side:hover .brand-logo {
    transform: scale(1.1);
}

.brand-side:hover .brand-title {
    transform: translateY(-20px);
    font-size: 4rem;
}

.brand-side:hover .brand-subtitle {
    transform: translateY(-20px);
    opacity: 0.7;
}

.brand-side:hover .brand-badge {
    transform: translateY(-20px) scale(1.05);
    background: rgba(255, 255, 255, 0.25);
}

.angatti-side:hover .store-badge {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.4) 0%, rgba(18, 140, 126, 0.4) 100%);
    border-color: rgba(37, 211, 102, 0.7);
}

.brand-side:hover .brand-hover-content {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

/* Divider */
.brand-divider {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    pointer-events: none;
}

.divider-line {
    width: 2px;
    height: 100px;
    background: rgba(255, 255, 255, 0.3);
    margin: 0 auto;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand-side:hover ~ .brand-divider .divider-line,
.brand-divider:hover .divider-line {
    opacity: 0;
    transform: scaleY(0);
}

.divider-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand-side:hover ~ .brand-divider .divider-text,
.brand-divider:hover .divider-text {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
}

/* Responsive */
@media (max-width: 768px) {
    body {
        overflow: hidden;
        height: 100vh;
        position: fixed;
        width: 100%;
    }

    .brand-selector {
        flex-direction: column;
        height: 100vh;
        min-height: 100vh;
        max-height: 100vh;
    }

    .brand-side {
        flex: 1;
        min-height: 50vh;
        height: 50vh;
        max-height: 50vh;
        overflow: hidden;
        cursor: default;
        pointer-events: none;
    }

    .brand-side .brand-content {
        pointer-events: all;
    }

    .brand-side:hover {
        flex: 1;
    }

    .brand-content {
        padding: 1rem;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100%;
    }

    .brand-title {
        font-size: 1.75rem;
        margin-bottom: 0.3rem;
    }

    .brand-side:hover .brand-title {
        font-size: 1.75rem;
        transform: translateY(0);
    }

    .brand-subtitle {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }

    .brand-side:hover .brand-subtitle {
        transform: translateY(0);
        opacity: 0.9;
    }

    .brand-logo {
        margin-bottom: 0.5rem;
    }

    .brand-logo img {
        max-width: 120px;
    }

    .brand-side:hover .brand-logo {
        transform: scale(1);
    }

    .brand-badge {
        margin-bottom: 0.5rem;
        font-size: 0.75rem;
        padding: 0.3rem 0.8rem;
    }

    .brand-side:hover .brand-badge {
        transform: translateY(0) scale(1);
    }

    .brand-hover-content {
        opacity: 1;
        transform: translateY(0);
        pointer-events: all;
        margin-top: 0.5rem;
    }

    .brand-description {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
        line-height: 1.5;
    }

    .brand-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.85rem;
    }

    .brand-divider {
        display: none;
    }

    .brand-side:hover .brand-bg-image {
        transform: scale(1);
    }

    .brand-side:hover .brand-overlay {
        background: linear-gradient(135deg, rgba(139, 69, 19, 0.85) 0%, rgba(101, 67, 33, 0.9) 100%);
    }

    .angatti-side:hover .brand-overlay {
        background: linear-gradient(135deg, rgba(34, 34, 34, 0.85) 0%, rgba(0, 0, 0, 0.9) 100%);
    }

    /* Hide hover content on mobile, show mobile buttons */
    .brand-hover-content {
        display: none;
    }

    .brand-mobile-btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 90%;
        max-width: 320px;
        padding: 1.5rem 2rem;
        background: rgba(255, 255, 255, 0.95);
        color: #2c2c2c;
        text-decoration: none;
        border-radius: 20px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
        margin-top: 1rem;
        transition: all 0.3s ease;
        text-align: center;
    }

    .brand-mobile-btn i {
        font-size: 2.5rem;
        margin-bottom: 0.8rem;
        color: #8b4513;
    }

    .brand-mobile-btn span {
        font-size: 1.3rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: #2c2c2c;
    }

    .mobile-btn-desc {
        font-size: 0.9rem;
        color: #666;
        margin: 0;
        font-weight: 400;
    }

    .angatti-mobile-btn {
        background: linear-gradient(135deg, rgba(37, 211, 102, 0.95) 0%, rgba(18, 140, 126, 0.95) 100%);
        color: white;
    }

    .angatti-mobile-btn i {
        color: white;
    }

    .angatti-mobile-btn span {
        color: white;
    }

    .angatti-mobile-btn .mobile-btn-desc {
        color: rgba(255, 255, 255, 0.9);
    }

    .brand-mobile-btn:active {
        transform: scale(0.98);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
}

@media (max-width: 480px) {
    .brand-title {
        font-size: 1.4rem;
        margin-bottom: 0.2rem;
    }

    .brand-subtitle {
        font-size: 0.8rem;
        margin-bottom: 0.3rem;
    }

    .brand-logo {
        margin-bottom: 0.3rem;
    }

    .brand-logo img {
        max-width: 90px;
    }

    .brand-content {
        padding: 0.6rem;
    }

    .brand-badge {
        margin-bottom: 0.3rem;
        font-size: 0.65rem;
        padding: 0.2rem 0.6rem;
    }

    .brand-description {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
        line-height: 1.4;
    }

    .brand-btn {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }

    .brand-hover-content {
        margin-top: 0.3rem;
    }

    .brand-mobile-btn {
        width: 95%;
        padding: 1.3rem 1.5rem;
    }

    .brand-mobile-btn i {
        font-size: 2.2rem;
        margin-bottom: 0.6rem;
    }

    .brand-mobile-btn span {
        font-size: 1.2rem;
        margin-bottom: 0.4rem;
    }

    .mobile-btn-desc {
        font-size: 0.85rem;
    }
}
