/* --- 1. Base Styles & Variables --- */
html {
    scroll-behavior: smooth;
}
:root {
    --bg-color: #121212;
    --card-bg: #1e1e1e;
    --text-main: #f5f5f5;
    --text-muted: #b3b3b3;
    --accent: #00adb5;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

a:hover {
    color: var(--accent);
}

/* --- 2. Header & Navigation --- */
header {
    background-color: #000;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--accent);
    letter-spacing: 2px;
    text-transform: lowercase;
}

.navbar ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 25px;
}

.navbar a {
    font-weight: bold;
    font-size: 1rem;
}

.navbar a.active {
    color: var(--accent);
    border-bottom: 2px solid var(--accent);
    padding-bottom: 5px;
}

/* --- 3. Dropdown Menus --- */
.dropdown {
    position: relative;
    padding-bottom: 15px; 
    margin-bottom: -15px;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--card-bg);
    min-width: 180px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.5);
    z-index: 1;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 10px;
}

.dropdown-content a {
    color: var(--text-main);
    padding: 12px 16px;
    display: block;
    text-align: center;
    font-weight: normal;
    border-bottom: 1px solid #333;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: #333;
    color: var(--accent);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    color: var(--accent);
}

/* --- 4. Main Layout & Content Boxes --- */
main {
    flex: 1;
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
    width: 100%;
}

.content-box {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    text-align: center;
}

.content-box h3 {
    color: var(--accent);
    font-size: 2.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid #333;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.content-box p {
    font-size: 1.15rem;
    color: var(--text-muted);
    text-align: justify;
    max-width: 850px;
    margin: 0 auto;
}

.accent-link {
    color: var(--accent);
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
    margin-top: 10px;
}

/* --- 5. Grid System & Cards (Index & Media) --- */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block; /* Works for link cards */
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 173, 181, 0.2);
}

.media-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    background-color: #000;
}

.media-container img,
.media-container iframe {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; border: none;
}

.card-content {
    padding: 25px;
}

.genre-tag {
    background-color: var(--accent);
    color: #000;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 3px;
    text-transform: uppercase;
}

/* --- 6. Photo Gallery Specific --- */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.photo-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 1/1;
}

.photo-item img {
    width: 100%; height: 100%; object-fit: cover;
}

.overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: rgba(0, 173, 181, 0.85);
    color: #000;
    padding: 15px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    font-weight: bold;
    text-align: center;
}

.photo-item:hover .overlay {
    transform: translateY(0);
}

/* --- 7. Biography (Circular Image & Sidebar) --- */
.bio-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 50px;
    align-items: start;
}

.profile-frame {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--accent);
    box-shadow: 0 0 20px rgba(0, 173, 181, 0.3);
    margin: 0 auto 30px auto;
}

.profile-frame img {
    width: 100%; height: 100%; object-fit: cover;
}

.spec-card {
    background: #121212;
    padding: 20px;
    border-radius: 8px;
    width: 100%;
    text-align: left;
}

/* --- 8. Blog & Concept Box --- */
.blog-container {
    background-color: var(--card-bg);
    max-width: 850px;
    margin: 0 auto;
    padding: 50px;
    border-radius: 10px;
}

.concept-box {
    background-color: #252525;
    border-left: 4px solid var(--accent);
    padding: 25px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
}

.closing-thought {
    font-style: italic;
    font-weight: bold;
    border-left: 4px solid var(--accent);
    padding: 20px;
    background: rgba(0, 173, 181, 0.05);
    margin-top: 40px;
}

/* --- 9. Footer --- */
footer {
    background-color: #000;
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid #333;
    margin-top: auto; /* Keeps footer at bottom of short pages */
}

.footer-top a {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 30px;
    display: inline-block;
}

/* Container for the columns */
.footer-columns {
    display: flex;
    justify-content: center;
    gap: 80px; /* Space between Nav and Blog columns */
    margin: 20px 0 40px 0;
    flex-wrap: wrap;
}

/* Style for each UL column */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left; /* Aligns text within the column */
}

.footer-label {
    font-weight: bold;
    color: var(--accent);
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: block; /* Ensures label is on its own line */
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--accent);
}

.copyright {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #1a1a1a;
    font-size: 0.8rem;
    color: #555;
    letter-spacing: 1px;
}
/* --- 10. Responsive --- */
@media (max-width: 850px) {
    .bio-grid { grid-template-columns: 1fr; }
    .nav-container { flex-direction: column; gap: 10px; }
    .navbar ul { gap: 15px; font-size: 0.9rem; }
    .footer-columns {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    .footer-links {
        text-align: center;
    }
}
/* --- 11. Image Map Integration --- */
.map-container {
    margin-top: 30px;
    background-color: #121212; /* Matches your page background */
    border: 2px solid #333;
    border-radius: 8px;
    padding: 10px;
    overflow-x: auto; /* Allows scrolling on mobile so coords don't break */
    box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}

.styled-map-img {
    display: block;
    margin: 0 auto;
    border-radius: 4px;
    max-width: none; /* Crucial: Stops the image from shrinking and breaking the map coordinates */
}
/* --- 12. Dream Places & Bucket List Styles --- */

/* Destination Image Cards */
.destination-card {
    display: flex;
    flex-direction: column;
}

.destination-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 3px solid var(--accent);
}

.destination-card .card-content {
    text-align: left;
}

.destination-card h3 {
    margin: 10px 0;
    font-size: 1.4rem;
    color: var(--text-main);
}

/* Bucket List Styling */
.bucket-list {
    list-style: none;
    padding: 0;
    margin: 30px auto 0 auto;
    max-width: 800px;
    text-align: left;
}

.bucket-list li {
    background: #1a1a1a;
    border: 1px solid #333;
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.bucket-list li:hover {
    transform: translateX(10px);
    border-color: var(--accent);
}

/* Custom Checkbox Design */
.bucket-list .checkbox {
    min-width: 24px;
    height: 24px;
    border: 2px solid var(--accent);
    border-radius: 4px;
    margin-top: 2px;
    position: relative;
}

/* Adds a checkmark on hover just for fun */
.bucket-list li:hover .checkbox::after {
    content: '✔';
    position: absolute;
    top: -2px;
    left: 4px;
    color: var(--accent);
    font-size: 16px;
}

.bucket-list strong {
    font-size: 1.2rem;
    color: var(--text-main);
    display: block;
    margin-bottom: 5px;
}

.bucket-list p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-muted);
}