/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    overflow-x: hidden;
    font-family: 'Montserrat', sans-serif;
}

/* Main Container */
.main-container {
    display: flex;
    height: 100vh;
    position: relative;
}

/* Split Sections */
.split-section {
    flex: 1;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Background Images */
.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.surgeon-bg {
    background-image: url('https://www.americanbluesscene.com/wp-content/uploads/2022/05/Dr.-Daniel-Ivankovich-Doctor-Dan-1024x871.jpg');
}

.musician-bg {
    background-image: url('https://pbs.twimg.com/profile_images/683247569976311808/5-JaT1U1_400x400.jpg');
}

/* Overlays */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    transition: opacity 0.3s ease;
}

.red-overlay {
    background: linear-gradient(135deg, rgba(59, 4, 4, 0.7), rgba(82, 16, 16, 0.6));
}

.blue-overlay {
    background: linear-gradient(135deg, rgba(12, 29, 77, 0.7), rgba(32, 42, 68, 0.6));
}

/* Content */
.content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    padding: 2rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
}

.section-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.2s both;
}

/* Logo */
.logo-container {
    position: fixed;
    top: 2rem;
    left: 2rem;
    z-index: 1000;
}

.logo {
    width: 60px;
    height: auto;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

/* Hamburger Menu */
.hamburger-container {
    position: fixed;
    top: 4rem;
    right: 2rem;
    z-index: 1000;
}

.hamburger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 24px;
    position: relative;
    transition: all 0.3s ease;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: white;
    position: absolute;
    transition: all 0.3s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger span:nth-child(3) {
    bottom: 0;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 50%;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 50%;
}

/* Divider */
.divider-container {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.waveform-divider {
    width: 200px;
    height: 100vh;
    position: relative;
    transform: rotate(90deg);
}

.waveform-svg {
    width: 100%;
    height: 100%;
}

.waveform-path {
    animation: pulse 2s ease-in-out infinite;
}

.waveform-path-glow {
    animation: glow 2s ease-in-out infinite;
}

/* Social Media Icons */
.social-icons {
    position: absolute;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Contact Icons */
.contact-icons {
    position: absolute;
    align-items: center;
    justify-content: center;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.contact-icon:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Sidebar */
.sidebar-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.sidebar-overlay.active {
    visibility: visible;
    opacity: 1;
}

.sidebar {
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    max-width: 80vw;
    height: 100%;
    background: linear-gradient(135deg, #69696d, #26282e);
    padding: 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    opacity: 1;
}

.sidebar-overlay.active .sidebar {
    transform: translateX(0);
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.sidebar-logo {
    width: 60px;
    height: auto;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #60a5fa;
}

.sidebar-nav {
    flex: 1;
    display: flex;
}

.nav-menu {
    list-style: none;
    width: 100%;
}

.nav-menu li {
    margin-bottom: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 300;
    display: block;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.nav-link:hover {
    color: #60a5fa;
    border-bottom-color: #60a5fa;
    transform: translateX(10px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        stroke-width: 2;
        opacity: 0.8;
    }
    50% {
        stroke-width: 3;
        opacity: 1;
    }
}

@keyframes glow {
    0%, 100% {
        opacity: 0.6;
        filter: blur(1px);
    }
    50% {
        opacity: 1;
        filter: blur(0px);
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
    }
    
    .split-section {
        min-height: 50vh;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .section-subtitle {
        font-size: 1.2rem;
    }
    
    .divider-container {
        top: 50%;
        left: 0;
        width: 100%;
        height: 4px;
        transform: translateY(-50%);
    }
    
    .waveform-divider {
        width: 100vw;
        height: 100px;
        transform: rotate(0deg);
    }
    
    .social-icons {
        bottom: 2rem;
        top: auto;
        left: 2rem;
        transform: none;
        flex-direction: row;
        gap: 1rem;
    }
    
    .contact-icons {
        bottom: 2rem;
        top: auto;
        right: 2rem;
        transform: none;
        flex-direction: row;
        gap: 1rem;
    }
    
    .social-icon,
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .logo {
        width: 60px;
    }
    
    .sidebar {
        width: 100%;
        max-width: none;
    }
    
    .content {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 2.5rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        letter-spacing: 1px;
    }
    
    .logo-container,
    .hamburger-container {
        top: 1rem;
    }
    
    .logo-container {
        left: 1rem;
    }
    
    .hamburger-container {
        right: 1rem;
    }
    
    .social-icons,
    .contact-icons {
        bottom: 1rem;
        left: 1rem;
        right: 1rem;
        justify-content: center;
    }
    
    .contact-icons {
        right: 1rem;
        left: auto;
    }
}

/* Hover Effects */
.surgeon-side:hover .red-overlay {
    opacity: 0.6;
}

.musician-side:hover .blue-overlay {
    opacity: 0.6;
}

.split-section {
    transition: all 0.3s ease;
}

.split-section:hover {
    flex: 1.1;
}

.split-section:hover ~ .split-section {
    flex: 0.9;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
.hamburger:focus,
.social-icon:focus,
.contact-icon:focus,
.nav-link:focus,
.close-btn:focus {
    outline: 2px solid #60a5fa;
    outline-offset: 2px;
}


.button-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.custom-button {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.red-button {
    background-color: #740515;
    color: rgb(255, 255, 255);
    box-shadow: 0 8px 25px rgba(168, 15, 15, 0.4); /* Red hue shadow */
    
}

.red-button:hover {
    background-color: #d1c9ca;
    color: rgb(168, 15, 15);
    box-shadow: 0 8px 25px rgba(168, 15, 15, 0.4); /* Red hue shadow */
}

.blue-button {
    background-color: #152744;
    color: rgb(255, 255, 255);
}

.blue-button:hover {
    background-color: #ffffff;
    color: #152744;
    box-shadow: 0 8px 25px rgba(21, 39, 68, 0.4); /* Blue hue shadow */
}

.footer-info {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 10px 20px;
    z-index: 100;
    pointer-events: none;
}

.footer-left {
    color: white;
    font-size: 12px;
    font-family: 'Montserrat', sans-serif;
    pointer-events: auto;
}

.footer-right {
    pointer-events: auto;
    color: white;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.footer-image {
    width: 60px;
    height: auto;
    background-color: white;
    border-radius: 10px;
    opacity: .6;
    padding: 5px; /* Optional: adds spacing inside the white background */
}

