/* ==========================================================================
   LMS PORTFOLIO - WARM AESTHETIC STYLESHEET
   ========================================================================== */

/* --- GOOGLE FONTS --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=Montserrat:wght@300;400;500;600&display=swap');

/* --- COLOR PALETTE & VARIABLES --- */
:root {
    /* Apple iMac Pink Palette */
    --bg-cream: #FCF4F4; /* Extremely soft blush pink for the main background */
    --accent-rose: #E5A9A9; /* The soft pastel pink from the iMac front chin */
    --accent-dark: #D45D6B; /* The bold, rich pink from the iMac back panel (perfect for hover effects) */
    --tile-white: #FFFFFF; /* Pure white for the content cards */
    --border-soft: #F2D5D5; /* Subtle pink border for dividers */
    --text-main: #4A3B39; /* Deep, warm grey-brown instead of harsh black for text */
}

/* --- BASE STYLES --- */
body {
    background-color: var(--bg-cream);
    color: var(--text-mocha);
    font-family: 'Montserrat', sans-serif;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .serif-text {
    font-family: 'Cormorant Garamond', serif;
}

a {
    text-decoration: none;
    color: var(--accent-rose);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--text-mocha);
}

/* --- NAVBAR STYLES --- */
.custom-navbar {
    background-color: rgba(255, 245, 236, 0.9); /* Transparent warm cream */
    backdrop-filter: blur(12px); /* Glassmorphism effect */
    border-bottom: 1px solid var(--border-soft);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-mocha) !important;
}

.nav-link {
    color: var(--text-mocha) !important;
    font-weight: 500;
    font-size: 0.95rem;
    margin-left: 1.5rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-rose) !important;
}

.contact-link {
    background-color: var(--accent-rose);
    color: var(--tile-white) !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(226, 167, 159, 0.4);
}

/* Custom Pink Hover Effect para sa Contact Me Button sa Navigation */
.contact-link:hover {
    background-color: var(--accent-dark) !important;
    color: var(--tile-white) !important;
    border-color: var(--accent-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(212, 93, 107, 0.4) !important;
}

/* --- LAYOUT & SPACING --- */
.layout-container {
    margin-top: 120px; /* Push down below fixed nav */
    padding-bottom: 6rem;
}

/* --- LEFT SIDEBAR (PROFILE CARD) --- */
.sticky-sidebar {
    position: sticky;
    top: 100px;
}

.profile-card {
    background-color: var(--tile-white);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 30px var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.profile-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--bg-cream);
    box-shadow: 0 5px 15px var(--shadow-soft);
}

.profile-name { 
    font-size: 2.2rem; 
    margin-bottom: 0.2rem; 
    color: var(--text-mocha);
}

.profile-location { 
    font-size: 0.85rem; 
    opacity: 0.8; 
}

.soft-divider {
    border-color: var(--border-soft);
    margin: 2rem 0;
    opacity: 0.5;
}

/* Badges */
.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-cream);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid var(--border-soft);
    color: var(--text-mocha);
}

.dot {
    height: 8px; 
    width: 8px;
    background-color: var(--live-dot);
    border-radius: 50%;
}

/* Buttons */
.primary-btn, .secondary-btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.primary-btn {
    background-color: var(--accent-rose);
    color: var(--tile-white);
    box-shadow: 0 4px 15px rgba(226, 167, 159, 0.4);
    border: none;
}

/* Custom Pink Hover Effect para sa Buttons */
.primary-btn:hover {
    background-color: var(--accent-dark) !important; /* Yung mas bright at rich na pink */
    color: var(--tile-white) !important; /* Pinapanatiling puti at malinaw ang text */
    border-color: var(--accent-dark) !important;
    transform: translateY(-2px); /* Premium na "angat" effect kapag ni-hover */
    box-shadow: 0 6px 15px rgba(212, 93, 107, 0.4) !important; /* Soft pink glow sa ilalim */
}

.secondary-btn {
    background-color: transparent;
    color: var(--text-mocha);
    border: 1px solid rgba(92, 67, 59, 0.2);
}

.secondary-btn:hover { 
    background-color: var(--bg-cream); 
    border-color: var(--accent-rose);
}

/* Sidebar Specifics */
.sidebar-section {
    text-align: left;
}

.sidebar-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-mocha);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.sidebar-text {
    font-size: 0.9rem;
    opacity: 0.85;
    margin-bottom: 0;
}

.video-placeholder {
    width: 100%;
    height: 140px;
    background-color: var(--accent-rose);
    background-image: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tile-white);
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.video-placeholder:hover { 
    opacity: 0.9; 
    transform: scale(1.02);
}

/* --- RIGHT MAIN CONTENT --- */
.section-title {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-mocha);
    border-bottom: 2px solid var(--accent-rose);
    display: inline-block;
    padding-bottom: 0.5rem;
}

.content-card {
    background-color: var(--tile-white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px var(--shadow-soft);
}

/* Consultation Banner */
.consultation-banner {
    background-color: var(--tile-white);
    border: 1px solid var(--border-soft);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 25px var(--shadow-soft);
    transition: transform 0.3s ease;
}

.consultation-banner:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px var(--shadow-hover);
}

/* Portfolio Cards */
.portfolio-card {
    display: flex;
    flex-direction: column;
    background-color: var(--tile-white);
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 8px 25px var(--shadow-soft);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px var(--shadow-hover);
    color: inherit;
}

.img-wrapper {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-card:hover .img-wrapper img { 
    transform: scale(1.05); 
}

.portfolio-info { 
    padding: 1.5rem; 
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.portfolio-info p { 
    font-size: 0.9rem; 
    opacity: 0.85; 
    margin-bottom: 1.5rem; 
    flex-grow: 1;
}

.view-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-rose);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.portfolio-card:hover .view-link { 
    color: var(--text-mocha); 
    transform: translateX(4px);
}

/* Text Only Card Specifics */
.text-only-card {
    background-color: var(--accent-rose);
    background-image: linear-gradient(135deg, var(--accent-rose) 0%, #D89890 100%);
    color: var(--tile-white);
    border: none;
}

/* History Items */
.history-item p {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 991px) {
    .sticky-sidebar { 
        position: static; 
        margin-bottom: 3rem; 
    }
    .custom-navbar { 
        background-color: rgba(255, 245, 236, 0.98); 
    }
    .main-header h1 {
       font-size: 2rem !important; /* Paliitin ang font size ng main title */
        text-align: center;
    }
    .custom-navbar .navbar-collapse {
        background-color: var(--bg-cream); /* Para hindi transparent ang menu */
        padding: 20px;
        border-radius: 15px;
        margin-top: 10px;
        box-shadow: 0 10px 30px rgba(212, 93, 107, 0.1);
    }
    
    .nav-item {
        text-align: center;
        padding: 10px 0;
    }

    .nav-item.ms-3 {
        margin-left: 0 !important; /* I-center ang Contact Me button */
    }
    .sticky-sidebar {
        position: static !important; /* Alisin ang pagiging sticky sa mobile */
        margin-bottom: 30px;
    }

    .profile-card {
        text-align: center;
        padding: 30px 20px;
    }

    .profile-img {
        width: 120px; /* Mas maliit nang konti para sa mobile screens */
        height: 120px;
    }
    
    * Sinisiguro na ang container ng video ay may tamang height sa mobile */
    .ratio-16x9 {
        height: auto;
        min-height: 200px;
    }

    #videoCover {
        /* Sinisiguro na clickable ang buong area sa mobile */
        width: 100% !important;
        height: 100% !important;
    }
}

@media (max-width: 768px) {
    .layout-container {
        margin-top: 100px;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .content-card {
        padding: 1.5rem;
    }
    .consultation-banner {
        flex-direction: column;
        text-align: center;
    }
    .consultation-banner .primary-btn {
        width: 100%;
        margin-top: 1rem;
    }
}