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

/* SEO and Accessibility */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Styles */
.sidebar {
    width: 40%;
    background-color: #F5EFE7;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.logo-container {
    width: 450px;
    margin-bottom: 50px;
}

.logo-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Social Buttons */
.social-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: auto;
}

.btn {
    padding: 16px 45px;
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 1.2px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-instagram {
    background-color: #ffac3d;
    color: white;
}

.btn-instagram:hover {
    background-color: #ffbb3d;
    transform: translateY(-2px);
}

.btn-facebook {
    background-color: #ffac3d;
    color: white;
}

.btn-facebook:hover {
    background-color: #ffbb3d;
    transform: translateY(-2px);
}

/* Contact Info */
.contact-info {
    margin-top: 60px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #333;
    margin-bottom: 20px;
    font-size: 19px;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #ffac3d;
}

.icon {
    width: 24px;
    height: 24px;
}

/* Main Content */
.main-content {
    flex: 1;
    position: relative;
    background-color: #D4E6D4;
}

.hero-image {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.overlay-text {
    display: none;
}

/* Hide mobile overlay on desktop */
.mobile-overlay {
    display: none;
}

/* Tablet Landscape */
@media (max-width: 1200px) {
    .sidebar {
        width: 45%;
        padding: 50px 30px;
    }
    
    .logo-container {
        width: 380px;
    }
    
    .btn {
        padding: 14px 40px;
        font-size: 16px;
    }
}

/* Tablet Portrait */
@media (max-width: 1024px) {
    .sidebar {
        width: 50%;
    }
    
    .logo-container {
        width: 320px;
    }
}

@media (max-width: 768px) {
    .container {
        display: block;
        position: relative;
        height: 100vh;
    }
    
    .sidebar {
        display: none;
    }
    
    .main-content {
        position: relative;
        height: 100vh;
        width: 100%;
    }
    
    .hero-image {
        height: 100vh;
        position: relative;
    }
    
    .hero-image::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.4) 100%);
        z-index: 1;
    }
    
    .hero-image img {
        filter: brightness(0.9);
    }
    
    
    /* Mobile overlay content */
    .mobile-overlay {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 10;
        padding: 30px 20px;
        text-align: center;
    }
    
    .mobile-logo {
        width: 90%;
        max-width: 960px;
        position: absolute;
        top: 5%;
        left: 50%;
        transform: translateX(-50%);
        margin-bottom: 0;
    }
    
    .mobile-logo img {
        width: 100%;
        height: auto;
        filter: invert(1) drop-shadow(3px 3px 15px rgba(0,0,0,0.8));
    }
    
    .mobile-buttons {
        display: flex;
        gap: 15px;
        position: absolute;
        top: 55%;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .mobile-overlay .btn {
        background-color: #ffac3d;
        color: white;
        padding: 12px 28px;
        font-size: 14px;
        border: 2px solid rgba(255, 255, 255, 0.3);
        backdrop-filter: blur(10px);
        text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    }
    
    .mobile-overlay .btn:hover {
        background-color: #ffbb3d;
    }
    
    .mobile-contact {
        position: absolute;
        bottom: 30px;
        left: 20px;
        right: 20px;
    }
    
    .mobile-contact .contact-link {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        margin: 0 10px 15px;
        color: white;
        text-decoration: none;
        font-size: 16px;
        font-weight: 500;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
        background-color: rgba(0, 0, 0, 0.4);
        padding: 14px 24px;
        border-radius: 25px;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .mobile-contact .icon {
        filter: drop-shadow(1px 1px 2px rgba(0,0,0,0.5));
    }
}

@media (max-width: 480px) {
    .mobile-logo {
        width: 85%;
        top: 3%;
    }
    
    .mobile-buttons {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        max-width: 200px;
        top: 45%;
    }
    
    .mobile-overlay .btn {
        padding: 10px 24px;
        font-size: 13px;
        width: 100%;
    }
    
    .mobile-contact {
        bottom: 20px;
        left: 15px;
        right: 15px;
    }
    
    .mobile-contact .contact-link {
        font-size: 14px;
        padding: 12px 20px;
        margin: 0 5px 12px;
        display: flex;
        justify-content: center;
        max-width: 250px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Very small mobile screens */
@media (max-width: 360px) {
    .mobile-logo {
        width: 80%;
        top: 2%;
    }
    
    .mobile-buttons {
        top: 40%;
    }
    
    .mobile-overlay .btn {
        padding: 8px 20px;
        font-size: 12px;
    }
    
    .mobile-contact .contact-link {
        font-size: 12px;
        padding: 10px 16px;
    }
}

/* Large screens */
@media (min-width: 1600px) {
    .sidebar {
        width: 35%;
        padding: 80px 60px;
    }
    
    .logo-container {
        width: 500px;
    }
    
    .btn {
        padding: 18px 50px;
        font-size: 18px;
    }
    
    .contact-link {
        font-size: 21px;
    }
}

/* Extra large screens */
@media (min-width: 1920px) {
    .sidebar {
        width: 30%;
    }
    
    .logo-container {
        width: 550px;
    }
}