/* ============================ */
/* GLOBAL STYLES & LAYOUT       */
/* ============================ */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden; /* No scrolling on main body */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(90deg, #c79494, #7c8655);
    color: #e2e2e2;
}

/* ============================ */
/* PAGE WRAPPER                 */
/* ============================ */
.page-wrapper {
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ============================ */
/* MAIN CONTENT AREA            */
/* ============================ */
.content-area {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: stretch; /* stretch to fill height */
    gap: 50px;            /* spacing between columns */
    padding: 117px 40px 45px 40px; /* balanced spacing between fixed navbar (top) and footer (bottom) */
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;    /* hide content area overflow */
}

/* ============================ */
/* LEFT COLUMN (ABOUT + CONTACT)*/
/* ============================ */
.left-column {
    flex: 1.1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-height: 100%;
    overflow-y: auto;
    padding-right: 15px;
    box-sizing: border-box;
}

.about-card,
.contact-card {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 30px;
    border-radius: 12px;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.about-card h2,
.contact-card h2 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 20px;
}

.about-card p {
    line-height: 1.6;
    margin-bottom: 15px;
    color: #f2f2f2;
}

.about-card p:last-child {
    margin-bottom: 0;
}

/* ============================ */
/* CONTACT LIST ITEMS           */
/* ============================ */
.contact-card .list-group-item {
    background: none !important;
    border: none !important;
    color: #f2f2f2;
    padding: 12px 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.contact-card .list-group-item i {
    width: 20px;
    text-align: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-card .list-group-item a {
    color: #ffffff;
    text-decoration: none;
    margin-left: 15px;
    transition: 0.3s ease;
}

.contact-card .list-group-item a:hover {
    color: #f3c1c1;
}

.contact-card .badge.bg-secondary {
    background: rgba(255, 255, 255, 0.25) !important;
    color: #ffffff;
    font-weight: 600;
}

/* ============================ */
/* RIGHT COLUMN (IMAGE GALLERY) */
/* ============================ */
.image-gallery {
    flex: 0.9;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-height: 100%;
    overflow-y: auto;
    padding-right: 15px;
    box-sizing: border-box;
}

.image-gallery img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-gallery img:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

/* ============================ */
/* CUSTOM VISUALLY APPEALING SCROLLBARS */
/* ============================ */
.image-gallery::-webkit-scrollbar,
.left-column::-webkit-scrollbar {
    width: 6px;
}

.image-gallery::-webkit-scrollbar-track,
.left-column::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 3px;
}

.image-gallery::-webkit-scrollbar-thumb,
.left-column::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.25);
    border-radius: 3px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.image-gallery::-webkit-scrollbar-thumb:hover,
.left-column::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.45);
}

/* Hide mobile contact by default on desktop */
.mobile-contact-wrapper {
    display: none;
}

@media (max-width: 768px) {
    /* Hide desktop elements */
    .page-wrapper,
    #navbar-container,
    #footer-container {
        display: none !important;
    }
    
    html, body {
        overflow-y: auto !important; /* Enable scroll on mobile */
        height: auto !important;
        margin: 0;
        padding: 0;
    }
    
    .mobile-contact-wrapper {
        display: block;
        width: 100%;
        background: linear-gradient(90deg, #c79494, #7c8655);
        color: #e2e2e2;
        box-sizing: border-box;
    }
    
    .mobile-nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px 20px;
        background: rgba(0, 0, 0, 0.85);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        position: sticky;
        top: 0;
        z-index: 100;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .mobile-nav-logo {
        font-weight: 700;
        color: #ffffff;
        text-decoration: none;
        font-size: 1.2rem;
        letter-spacing: 0.03em;
    }
    
    .mobile-nav-btn {
        background: rgba(255, 255, 255, 0.1);
        border: 1.5px solid #ffffff;
        color: #ffffff !important;
        padding: 6px 16px;
        border-radius: 20px;
        text-decoration: none;
        font-size: 0.9rem;
        font-weight: 600;
        transition: all 0.3s ease;
    }
    
    .mobile-nav-btn:hover {
        background: #ffffff;
        color: #000000 !important;
    }
    
    .mobile-section {
        min-height: calc(100vh - 61px); /* Viewport height minus the sticky header */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 60px 20px 80px 20px;
        box-sizing: border-box;
        text-align: center;
        position: relative;
    }
    
    .mobile-socials-section {
        min-height: calc(100vh - 61px);
    }
    
    .mobile-about-section {
        min-height: 100vh;
        background: rgba(0, 0, 0, 0.15);
    }
    
    .mobile-gallery-section {
        min-height: 100vh;
        background: rgba(0, 0, 0, 0.3);
    }
    
    .mobile-section h2 {
        font-size: 2.2rem;
        font-weight: 700;
        color: #ffffff;
        margin-top: 0;
        margin-bottom: 35px;
        text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    }
    
    .mobile-socials-list {
        display: flex;
        flex-direction: column;
        gap: 18px;
        width: 100%;
        max-width: 320px;
        margin-bottom: 20px;
    }
    
    .mobile-social-button {
        display: flex;
        align-items: center;
        background: rgba(0, 0, 0, 0.4);
        border: 1px solid rgba(255, 255, 255, 0.2);
        padding: 18px 24px;
        border-radius: 16px;
        color: #ffffff !important;
        text-decoration: none;
        font-size: 1.25rem;
        font-weight: 600;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
        gap: 20px;
    }
    
    .mobile-social-button i {
        font-size: 1.7rem;
        width: 32px;
        text-align: center;
    }
    
    .mobile-social-button:hover:not(.disabled-button) {
        background: rgba(255, 255, 255, 0.15);
        transform: translateY(-2px);
    }
    
    .disabled-button {
        opacity: 0.55;
        cursor: not-allowed;
    }
    
    .disabled-button small {
        font-size: 0.80rem;
        font-weight: 400;
        display: block;
        color: #cccccc;
    }
    
    .scroll-indicator {
        position: absolute;
        bottom: 25px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        font-size: 0.85rem;
        color: #ffffff;
        opacity: 0.8;
        animation: bounce 2.2s infinite;
    }
    
    .scroll-indicator i {
        font-size: 1rem;
    }
    
    @keyframes bounce {
        0%, 20%, 50%, 80%, 100% {
            transform: translateY(0);
        }
        40% {
            transform: translateY(-8px);
        }
        60% {
            transform: translateY(-4px);
        }
    }
    
    .mobile-about-content {
        max-width: 520px;
        line-height: 1.75;
        font-size: 1.15rem;
        background: rgba(0, 0, 0, 0.35);
        border: 1px solid rgba(255, 255, 255, 0.25);
        padding: 30px 24px;
        border-radius: 20px;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        text-align: left;
    }
    
    .mobile-about-content p {
        margin-bottom: 16px;
    }
    
    .mobile-about-content p:last-child {
        margin-bottom: 0;
    }
    
    .mobile-gallery-grid {
        display: flex;
        flex-direction: column;
        gap: 25px;
        width: 100%;
        max-width: 460px;
    }
    
    .mobile-gallery-grid img {
        width: 100%;
        height: auto;
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.25);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
        transition: transform 0.3s ease;
    }
    
    .mobile-footer {
        text-align: center;
        padding: 24px 20px;
        background: rgba(0, 0, 0, 0.85);
        font-size: 0.85rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
}
