:root {
    --primary: #6366f1;
    --primary-rgb: 99, 102, 241;
    --secondary: #a855f7;
    --secondary-rgb: 168, 85, 247;
    --dark: #1e1b4b;
    --light: #f8fafc;
    --accent: #10b981;
    --text: #1e293b;
    --bg: #f8fafc;
    --card: #ffffff;
    --border: #e2e8f0;
    --shadow: rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.page-header {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    padding: 8rem 2rem 4rem;
    text-align: center;
}

.header-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.25rem;
    opacity: 0.9;
}
body {
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Theme toggle for dark/light mode */
body.dark-mode {
    --primary: #818cf8;
    --primary-rgb: 129, 140, 248;
    --secondary: #c084fc;
    --secondary-rgb: 192, 132, 252;
    --dark: #312e81;
    --light: #0f172a;
    --accent: #34d399;
    --text: #e2e8f0;
    --bg: #0f172a;
    --card: #1e293b;
    --border: #334155;
    --shadow: rgba(0, 0, 0, 0.25);
}

img {
    max-width: 100%;
}

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

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

/* Buttons and interactive elements */
button {
    cursor: pointer;
    font-family: inherit;
}

.cta-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.primary-btn {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.4);
    color: white;
}

.secondary-btn {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.secondary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px var(--shadow);
    color: var(--primary);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* Theme toggle button */
#theme-toggle {
    position: relative;
    top: auto;
    right: auto;
    margin-left: 1rem;
    z-index: 100;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px var(--shadow);
}

.theme-icon {
    width: 20px;
    height: 20px;
}

/* Gradient text for headings */
.gradient-text {
    background: linear-gradient(to left, var(--dark), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    z-index: 10;
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

nav.scrolled {
    background-color: rgba(248, 250, 252, 0.8);
    box-shadow: 0 4px 20px var(--shadow);
    padding: 1rem 2rem;
}

body.dark-mode nav.scrolled {
    background-color: rgba(15, 23, 42, 0.8);
}

.logo {
    font-size: 1.4rem;
}

.nav-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a.active,
.nav-links a:hover {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    transition: width 0.3s ease;
}

.nav-links a.active::after,
.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
}

/* Mobile menu with gradient background */
.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    padding: 1rem;
    box-shadow: 0 4px 20px var(--shadow);
    z-index: 9;
    flex-direction: column;
    transition: opacity 0.3s ease;
}

.mobile-menu.active {
    display: flex;
    opacity: 1;
}

/* Mobile menu links styling */
.mobile-menu a {
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    text-decoration: none;
    font-weight: 500;
}

.mobile-menu a:hover, 
.mobile-menu a.active {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Hero section with Video background */
.hero {
    position: relative;
    min-height: 100vh; /* Reduced from 100vh to 75vh */
    padding: 4rem 2rem; /* Adjusted padding */
    display: flex;
    align-items: center;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    background-color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

#bg-video {
    position: absolute;
    width: 100%;
    height: 75%; /* Reduced height to show less of the video */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: contain;
    max-height: 75vh; /* Setting a maximum height */
}

.video-background::before,
.video-background::after {
    content: '';
    height: 0;
    width: 100%;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    opacity: 0.8;
    z-index: 2;
}

/* Hero content */
.hero-content {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    max-width: 350px;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero h1 {
    font-size: 2.6rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.0rem;
    margin-bottom: 0;
    opacity: 0.9;
}

/* Hero Chat Box - Always dark */
.hero-chat {
    width: 100%;
    background-color: rgba(30, 41, 59, 0.9);
    backdrop-filter: blur(5px);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.15);
    min-height: 250px;
    transition: all 0.3s ease;
}

/* Make sure chat box stays dark in both modes */
body.dark-mode .hero-chat {
    background-color: rgba(30, 41, 59, 0.9);
    border-color: rgba(255, 255, 255, 0.15);
}

.chat-header {
    padding: 12px 15px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h3 {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

.chat-toggle-btn {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.chat-toggle-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.chat-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    transition: height 0.3s ease;
    overflow: hidden;
    height: calc(100% - 50px);
}

.chat-body.collapsed {
    height: 0;
}

.chat-messages {
    flex-grow: 1;
    padding: 12px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 120px;
}

.message {
    max-width: 85%;
    padding: 8px 12px;
    border-radius: 12px;
    position: relative;
    animation: message-pop 0.3s ease;
    word-break: break-word;
}

@keyframes message-pop {
    0% {
        transform: translateY(10px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.message-content {
    font-size: 13px;
    color: white;
    font-weight: 500;
}

.message-time {
    font-size: 9px;
    opacity: 0.7;
    margin-top: 4px;
    text-align: right;
    color: rgba(255, 255, 255, 0.8);
}

.message.sent {
    align-self: flex-end;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-bottom-right-radius: 4px;
    box-shadow: 0 2px 6px rgba(var(--primary-rgb), 0.3);
}

.message.sent .message-content {
    color: white;
}

.message.received {
    align-self: flex-start;
    background-color: rgba(255, 255, 255, 0.15);
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.message.received .message-content {
    color: white;
}

.chat-typing {
    display: flex;
    padding: 6px 12px;
    border-radius: 12px;
    border-bottom-left-radius: 4px;
    background-color: rgba(30, 41, 59, 0.8);
    align-self: flex-start;
    margin: 0 12px 6px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.chat-typing.active {
    opacity: 1;
}

.chat-typing-dot {
    width: 6px;
    height: 6px;
    background-color: white;
    border-radius: 50%;
    margin: 0 2px;
    animation: typing-animation 1.4s infinite;
}

.chat-typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.chat-typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing-animation {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-4px);
    }
}

.chat-input-area {
    padding: 8px 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(30, 41, 59, 0.8);
}

body.dark-mode .chat-input-area {
    background-color: rgba(30, 41, 59, 0.8);
}

#chat-input {
    flex-grow: 1;
    padding: 8px 12px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(30, 41, 59, 0.9);
    color: white;
    font-family: inherit;
    resize: none;
    transition: all 0.2s ease;
    max-height: 80px;
    font-size: 13px;
    font-weight: 500;
}

#chat-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

#chat-input:focus {
    outline: none;
    border-color: rgba(var(--primary-rgb), 0.5);
    box-shadow: 0 0 0 2px rgba(var(--primary-rgb), 0.2);
    background-color: rgba(30, 41, 59, 1);
}

#chat-send {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.3);
}

#chat-send:hover {
    transform: scale(1.05);
    box-shadow: 0 3px 12px rgba(var(--primary-rgb), 0.4);
}

/* Make CTA buttons line up properly */
.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 0;
}

/* Section formatting */
section {
    padding: 6rem 2rem;
}

section:nth-child(even) {
    background-color: var(--card);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
    text-align: center;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background-color: var(--card);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px var(--shadow);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px var(--shadow);
}

.project-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-info {
    padding: 1.5rem;
}

.project-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    background-color: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
}

.view-all-container {
    text-align: center;
    margin-top: 3rem;
}

.view-all-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
}

.view-all-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.4);
    color: white;
}

.details-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary);
    font-weight: 600;
    position: relative;
}

.details-link::after {
    content: '→';
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.details-link:hover::after {
    transform: translateX(5px);
}

/* Quick Links Section */
.quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.quick-link-card {
    background-color: var(--card);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 25px var(--shadow);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.quick-link-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px var(--shadow);
}

.card-icon {
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.quick-link-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.link-arrow {
    display: inline-block;
    margin-top: 1.5rem;
    color: var(--primary);
    font-weight: 600;
    position: relative;
}

.link-arrow::after {
    content: '→';
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.link-arrow:hover::after {
    transform: translateX(5px);
}

/* About Preview Section */
.about-preview {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 4rem;
}

.about-preview-content {
    flex: 1;
}

.about-preview-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.about-preview-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.about-preview-video {
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px var(--shadow);
}

.about-preview-video video {
    width: 100%;
    display: block;
}
.about-main {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.video-container {
    width: 100%;
    max-width: 600px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px var(--shadow);
}

.video-container video {
    width: 100%;
    display: block;
}

.about-content {
    flex: 1;
    min-width: 300px;
}

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.about-content p {
    margin-bottom: 2rem;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 2rem 0;
}

.skill-category {
    flex: 1;
    min-width: 250px;
}

.skill-category h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.skills-list {
    list-style: none;
}

.skills-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.skill-name {
    font-weight: 500;
}

.skill-level {
    height: 8px;
    width: 100px;
    background-color: var(--border);
    border-radius: 4px;
    position: relative;
}

.skill-level::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
}

.beginner::after {
    width: 30%;
}

.intermediate::after {
    width: 60%;
}

.advanced::after {
    width: 90%;
}

.social-links-about {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background-color: var(--card);
    border-radius: 30px;
    color: var(--text);
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px var(--shadow);
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px var(--shadow);
}

/* Python & Linux Page Styles */
.scripts-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.script-card {
    display: flex;
    flex-wrap: wrap;
    background: var(--card);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px var(--shadow);
}

.script-icon {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--primary-rgb), 0.1);
}

.icon-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.script-details {
    padding: 1.5rem;
    flex: 1;
    min-width: 300px;
}

.script-preview {
    width: 100%;
    max-width: 300px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.script-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.download-btn, .details-btn {
    padding: 0.5rem 1rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-align: center;
}

.download-btn {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    border: none;
}

.details-btn {
    border: 2px solid var(--primary);
    color: var(--primary);
    background-color: transparent;
}

.download-btn:hover, .details-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px var(--shadow);
}

.script-details-extended {
    display: none;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.script-details-extended h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.script-details-extended ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.code-snippet {
    background-color: var(--dark);
    color: var(--light);
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    font-family: 'Fira Code', monospace;
    margin-bottom: 1.5rem;
}

.linux-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.linux-card {
    background-color: var(--card);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 25px var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

.linux-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px var(--shadow);
}

.linux-icon {
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.linux-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.linux-download, .linux-tutorial {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.5rem 1.25rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.linux-download {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
}

.linux-tutorial {
    border: 2px solid var(--primary);
    color: var(--primary);
}

.linux-download:hover, .linux-tutorial:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px var(--shadow);
}

/* Travel Page Styles */
.world-map-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 3rem;
    position: relative;
}

.world-map {
    position: relative;
    width: 100%;
    background-color: #e6f2ff; /* Light blue fallback */
}

.map-image {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 8px 25px var(--shadow);
}

.map-point {
    position: absolute;
    width: 20px;
    height: 20px;
    cursor: pointer;
    z-index: 5;
}

.point-dot {
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.3);
    transition: all 0.3s ease;
}

.map-point:hover .point-dot {
    transform: translate(-50%, -50%) scale(1.5);
    background: var(--secondary);
}

.country-preview {
    position: absolute;
    top: -80px;
    left: -100px;
    width: 200px;
    background: var(--card);
    padding: 0.75rem;
    border-radius: 10px;
    box-shadow: 0 8px 25px var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
}

.map-point:hover .country-preview {
    opacity: 1;
    visibility: visible;
}

.map-controls {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.map-filter {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: none;
    background-color: var(--card);
    color: var(--text);
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.map-filter.active, .map-filter:hover {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
}

.destination-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.destination-images {
    flex: 1;
    min-width: 300px;
}

.main-image {
    margin-bottom: 1rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px var(--shadow);
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.image-grid img {
    border-radius: 10px;
    box-shadow: 0 4px 12px var(--shadow);
}

.destination-story {
    flex: 1;
    min-width: 300px;
}

.destination-story h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.destination-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.story-text {
    font-size: 1.05rem;
}

.story-text p {
    margin-bottom: 1.5rem;
}

.travel-tip {
    background-color: rgba(var(--accent-rgb), 0.1);
    border-left: 4px solid var(--accent);
    padding: 1.5rem;
    border-radius: 0 10px 10px 0;
    margin: 2rem 0;
}

.travel-tip h4 {
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.experience-list {
    margin-left: 1.5rem;
    margin-bottom: 2rem;
}

.experience-list li {
    margin-bottom: 0.75rem;
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto 0;
}

.destination-card {
    background-color: var(--card);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px var(--shadow);
    transition: all 0.3s ease;
}

.destination-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px var(--shadow);
}

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.read-more {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary);
    font-weight: 600;
    position: relative;
}

.read-more::after {
    content: '→';
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.read-more:hover::after {
    transform: translateX(5px);
}
.featured-destination .destination-content {
    max-width: 900px;
    margin: 0 auto;
}

.featured-destination h1 {
    color: #e67e22;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
    border-bottom: 2px solid #e67e22;
    padding-bottom: 10px;
}

.featured-destination .cover-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 30px;
}

.featured-destination .destination {
    background-color: var(--card);
    border-radius: 8px;
    box-shadow: 0 4px 8px var(--shadow);
    margin-bottom: 30px;
    padding: 20px;
    overflow: hidden;
}

.featured-destination .img-container {
    width: 100%;
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.featured-destination .caption {
    font-style: italic;
    color: #7f8c8d;
    margin-bottom: 15px;
    text-align: center;
}

.featured-destination .highlights {
    background-color: #f5f6fa;
    padding: 15px;
    border-radius: 5px;
    margin: 15px 0;
}

.featured-destination .highlights h3 {
    margin-top: 0;
    color: #e74c3c;
}

.featured-destination .tripadvisor {
    background-color: #f8f9fa;
    border-left: 4px solid #00af87;
    padding: 10px 15px;
    margin: 15px 0;
    font-size: 0.9rem;
}

.featured-destination .tripadvisor a {
    color: #00af87;
}

.featured-destination .tripadvisor a:hover {
    color: #008a6a;
}

.featured-destination .fact-box {
    background-color: #e3f2fd;
    border-left: 4px solid #2196F3;
    padding: 10px 15px;
    margin: 15px 0;
}
/* Art Section */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    aspect-ratio: 1;
    cursor: pointer;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.gallery-filter {
    padding: 0.5rem 1rem;
    border: none;
    background-color: var(--card);
    color: var(--text);
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.gallery-filter:hover,
.gallery-filter.active {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 12px var(--shadow);
}

/* Others Section */
.others-content {
    max-width: 900px;
    margin: 0 auto;
}

.others-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.others-card {
    background: var(--card);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px var(--shadow);
    transition: all 0.3s ease;
}

.others-card:hover {
    transform: translateY(-10px);
}

.others-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.others-info {
    padding: 1.5rem;
}


/* Footer */
footer {
    padding: 3rem 2rem;
    text-align: center;
    color: var(--text);
    background-color: var(--card);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.social-link {
    color: var(--text);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--primary);
}

footer p {
    opacity: 0.7;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.4rem;
    }
    
    .hero-content {
        max-width: 30%;
    }
    
    .about-preview {
        flex-direction: column;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    /* Updated navigation for mobile */
    #main-nav {
        padding: 1.25rem 1.5rem;
    }
    
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
        font-size: 1.75rem;
        margin-left: 0.5rem;
    }
    
    #theme-toggle {
        margin-left: 0;
        width: 34px;
        height: 34px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-chat {
        min-height: 220px;
    }
    
    .chat-messages {
        max-height: 100px;
    }
    
    /* Other mobile adjustments */
    section {
        padding: 4rem 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 1.25rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .hero-chat {
        min-height: 200px;
    }
    
    .chat-messages {
        max-height: 80px;
        padding: 8px;
    }
    
    .chat-header {
        padding: 10px 12px;
    }
    
    .chat-header h3 {
        font-size: 13px;
    }
    
    #chat-input {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    #chat-send {
        width: 28px;
        height: 28px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .cta-btn {
        width: 100%;
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
.hero {
    position: relative;
    min-height: 100vh; /* Changed from fixed height to minimum height */
    padding: 6rem 2rem; /* Added more padding to ensure content doesn't overlap with video */
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Media query for smaller screens */
@media (max-width: 768px) {
    .hero {
        min-height: 65vh; /* Even smaller on mobile */
    }
    
    .hero {
        padding: 5rem 1.5rem;
    }
  #bg-video {
        height: 65%; /* Smaller height on mobile */
    }
@media (max-width: 768px) {
    .video-vignette {
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%) translateY(50px);
        width: 200px; /* Slightly increased from 180px */
        border: 2px solid rgba(var(--primary-rgb), 0.5); /* Add border for visibility */
    }

    .video-vignette.active {
        transform: translateX(-50%) translateY(0);
    }
    
    /* Ensure video fills container */
    .video-item video {
        width: 100%;
        height: 100%;
        display: block;
    }
}

@media (max-width: 576px) {
    .video-vignette {
        width: 180px;
        bottom: 15px;
        /* Add a shadow for better visibility on mobile */
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    }
    
    /* Add relative positioning to ensure volume button stays contained */
    .video-item {
        position: relative;
        width: 100%;
        height: 100%;
    }
}

/* Extra small devices */
@media (max-width: 375px) {
    .video-vignette {
        width: 160px;
        bottom: 10px;
    }
}

/* Ensure volume button works properly with touch screens */
@media (pointer: coarse) {
    .volume-control {
        /* Make touch target bigger */
        width: 44px !important;
        height: 44px !important;
    }
    
    .volume-icon {
        width: 24px !important;
        height: 24px !important;
    }
}
}


