/* style.css */

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f4f4;
    background-image: url('placeholder_background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: grid;
    grid-template-rows: auto 1fr auto;
    min-height: 100vh;
}

header {
    background-color: rgba(30, 30, 30, 0.95);
    color: #ffffff;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

main {
    padding: 20px;
    margin-top: 80px;
}

footer {
    text-align: center;
    padding: 2rem 0;
    background-color: #1a1a1a;
    color: #ffffff;
}

nav ul {
    padding: 0;
    list-style: none;
    text-align: center;
    margin: 0;
}

nav ul li {
    display: inline-block;
    margin: 0 1rem;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section {
    padding: 4rem 2rem;
    margin: 2rem auto;
    max-width: 1200px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

h2 {
    margin-top: 0;
    border-bottom: 2px solid #333;
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 10px;
}


.tagline {
    font-size: 1.2rem;
    color: #333; /* Standard dark gray for Light Mode */
}


#about, #references, #tiktok, #shorts, #videos, #weblinks, #contact {
scroll-margin-top: 110px;
}



/* About List Formatting */
.about-list {
    list-style-type: none;
    padding-left: 0;
    margin: 20px 0;
}

.about-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    line-height: 1.6; /* Increased line height for better readability */
    color: #444;      /* Slightly softer black for a modern look */
}

.about-list li::before {
    content: "•";
    color: #333;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

/* Image Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
}

.thumbnail {
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    background: #000;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}

.thumbnail img:hover {
    transform: scale(1.08);
    opacity: 0.8;
}

/* Short Form (9:16) */
.shorts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.short-item {
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.short-item iframe {
    width: 100%;
    aspect-ratio: 9 / 16;
    display: block;
}

/* Long Form (16:9) */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.video-item {
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.video-item iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
}

/* Image Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.modal-content {
    max-width: 90%;
    max-height: 85%;
    border: 4px solid white;
    border-radius: 4px;
    animation: zoomIn 0.3s;
}

#caption {
color: white;
margin-top: 15px;
font-size: 1.1rem;
}

.close-button {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 60px;
    cursor: pointer;
    line-height: 1;
}

@keyframes zoomIn {
    from {transform: scale(0.9); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

/* Web Links */
.weblink-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.weblink-container a {
    text-decoration: none;
    color: #333;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    transition: 0.3s;
    width: 280px;
    background: #fff;
}

.weblink-container a:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.weblink-container a img { width: 100%; height: auto; display: block; }
.weblink-container a span { display: block; padding: 15px; background-color: #f9f9f9; font-size: 0.9rem; border-top: 1px solid #eee; }

/* Responsive Mobile */
@media (max-width: 768px) {
    nav ul li { display: block; margin: 0.5rem 0; }
    .section { padding: 2rem 1rem; margin: 1rem; }
    .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}

/* --- WIDE SOCIAL FEED --- */
.wide-video-container {
    width: 100%;
    max-width: 1000px; /* This makes it significantly wider */
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    background: #000;
}

.wide-video-container iframe {
    width: 100%;
    aspect-ratio: 16 / 9; /* Professional wide-screen look */
    display: block;
}

/* Ensure the scroll target is set for the new section */
#social-feed {
scroll-margin-top: 110px;
}


/* Container for the Phone + List */
.playlist-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    align-items: flex-start;
}

/* The Phone Frame */
.phone-frame {
    width: 315px; /* Actual phone width on computers */
    height: 560px; /* 9:16 Ratio */
    background: #111;
    border: 10px solid #222;
    border-radius: 35px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    overflow: hidden;
    position: relative;
}

.phone-screen {
    width: 100%;
    height: 100%;
}

.phone-screen iframe {
    width: 100%;
    height: 100%;
}

/* Sidebar List */
.video-list {
    flex: 1;
    min-width: 250px;
    max-width: 400px;
    max-height: 560px; /* Same as phone height */
    overflow-y: auto; /* Scrollable list */
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #ddd;
    padding: 10px;
}

.list-header {
    padding: 10px;
    font-weight: bold;
    color: #888;
    text-transform: uppercase;
    font-size: 0.75rem;
    border-bottom: 1px solid #eee;
}

.list-item {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 12px 15px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #444;
    border-bottom: 1px solid #f9f9f9;
    transition: 0.2s;
}

.list-item:hover { background: #f5f5f5; }
.list-item.active {
    background: #333;
    color: #fff;
    border-radius: 6px;
}


/* Styling for all links inside content sections */
.section a {
    color: #007bff !important;
    font-weight: bold !important;
    text-decoration: none !important;
}

.section a:hover {
    text-decoration: underline !important;
}


/* Dark Mode Styles */
body.dark-mode {
    background-color: #121212; /* Darker background */
    background-image: none; /* Removes the placeholder image for a cleaner dark look */
    color: #e0e0e0;
}

body.dark-mode .section {
    background-color: rgba(30, 30, 30, 0.98); /* Dark sections */
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    color: #e0e0e0;
}

body.dark-mode h2 {
    border-bottom: 2px solid #555;
    color: #ffffff;
}

body.dark-mode .about-list li,
body.dark-mode .section-description {
    color: #bbb;
}

body.dark-mode .about-list li::before {
    color: #007bff; /* Makes bullets blue in dark mode */
}

/* Fix for the Video Playlist sidebar in Dark Mode */
body.dark-mode .video-list {
    background: #222;
    border: 1px solid #444;
}

body.dark-mode .list-item {
    color: #ddd;
    border-bottom: 1px solid #333;
}

body.dark-mode .list-item:hover {
    background: #333;
}

body.dark-mode .list-item.active {
    background: #007bff;
    color: #fff;
}

/* Fix for the Web Links section in Dark Mode */
body.dark-mode .weblink-container a {
    background: #222;
    border: 1px solid #444;
    color: #fff;
}

body.dark-mode .weblink-container a span {
    background-color: #2a2a2a;
    border-top: 1px solid #444;
}


body.dark-mode .tagline {
    color: #ffffff; /* Pure white for Dark Mode */
}


/* Styling for links inside the image modal caption */
#caption a {
color: #007bff !important;
font-weight: bold !important;
text-decoration: none !important;
}

#caption a:hover {
text-decoration: underline !important;
}
