/* ===========================
   GLOBAL STYLES & RESET
   =========================== */

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

:root {
    --primary-bg: #0a0a0a;
    --secondary-bg: #111111;
    --accent-color: #ffffff;
    --text-primary: #f5f5f5;
    --text-secondary: #b0b0b0;
    --highlight: #ff6b6b;
    --overlay: rgba(0, 0, 0, 0.7);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --font-primary: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
    overflow: hidden;
}

body {
    font-family: var(--font-primary);
    background-color: var(--primary-bg);
    color: var(--text-primary);
    overflow: hidden;
    height: 100vh;
    position: relative;
}

/* ===========================
   PRELOADER
   =========================== */

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.preloader-logo {
    animation: logoFade 2s ease-in-out infinite;
}

.preloader-logo img {
    width: 120px;
    height: auto;
    filter: brightness(1.2);
}

.preloader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes logoFade {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

/* ===========================
   NAVIGATION
   =========================== */

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.nav-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    cursor: pointer;

}

.nav-logo img {
    height: 20px;
    width: auto;
    transition: var(--transition);
}

.nav-logo img:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    position: relative;
    transition: var(--transition);
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

/* ===========================
   PAGE CONTAINER & TRANSITIONS
   =========================== */

#page-container {
    position: fixed;
    top: 40px;
    left: 0;
    right: 0;
    bottom: 35px;
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.page {
    min-width: 100vw;
    width: 100vw;
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===========================
   HOME PAGE
   =========================== */

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 10;
}

#bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
}

.mute-button {
    position: fixed;
    bottom: 80px;
    right: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--accent-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
    z-index: 1002;
    pointer-events: auto;
}

.mute-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.home-content {
    position: relative;
    z-index: 1;
    text-align: center;
    pointer-events: none;
}

.home-logo {
    max-width: 400px;
    width: 80%;
    height: auto;
    animation: fadeInScale 1.2s ease-out;
    pointer-events: none;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===========================
   MUSIC PAGE
   =========================== */

#music {
    background: var(--secondary-bg);
}

.music-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('img/img.webp') center/cover no-repeat;
    filter: brightness(0.3);
}

.music-content {
    position: relative;
    z-index: 5;
    text-align: center;
    padding: 2rem;
    max-width: 1200px;
    width: 100%;
}

.music-content h1 {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 2rem;
    letter-spacing: 2px;
    animation: fadeInUp 0.8s ease-out;
}

.platform-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.line-break {
    flex-basis: 100%;
    height: 0;
}

.platform-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
    cursor: pointer;
    width: 180px;
}

.platform-card i {
    font-size: 3rem;
    transition: var(--transition);
}

.platform-card .fa-spotify { color: #1DB954; }
.platform-card .fa-apple { color: #FA243C; }
.platform-card .fa-youtube { color: #FF0000; }
.platform-card .fa-soundcloud { color: #FF5500; }
.platform-card .fa-record-vinyl { color: #01FF95; }
.platform-card .fa-amazon { color: #FF9900; }

.deezer-icon {
    width: 48px;
    height: 48px;
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

.platform-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.3);
}

.platform-card:hover i,
.platform-card:hover .deezer-icon {
    transform: scale(1.2);
}

.platform-card span {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===========================
   LIVE SETS PAGE
   =========================== */

.live-sets-content {
    padding: 2rem;
    max-width: 1400px;
    width: 100%;
    text-align: center;
    overflow-y: auto;
    max-height: calc(100vh - 120px);
}

.live-sets-content h1 {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.video-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
}

.video-card:hover .video-wrapper {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-title {
    margin-top: 1rem;
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-primary);
    text-align: center;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

.view-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.view-more-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

/* ===========================
   TOUR DATES PAGE
   =========================== */

.tour-content {
    padding: 2rem;
    max-width: 1400px;
    width: 100%;
    overflow-y: auto;
    max-height: calc(100vh - 120px);
}

.tour-content h1 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 3rem;
    letter-spacing: 3px;
    text-align: center;
    text-transform: uppercase;
}

.tour-list {
    max-width: 1000px;
    margin: 0 auto;
    padding-bottom: 2rem;
}

.tour-item {
    display: grid;
    grid-template-columns: 100px 1fr 1fr auto;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    gap: 2rem;
}

.tour-item:hover {
    background: rgba(255, 255, 255, 0.02);
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.tour-date {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    min-width: 100px;
}

.tour-date .month {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.tour-date .day {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-color);
    line-height: 1;
}

.tour-venue-name {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

.tour-location {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.tour-btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 30px;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    white-space: nowrap;
}

.tour-btn:hover {
    background: var(--accent-color);
    color: var(--primary-bg);
    border-color: var(--accent-color);
}

.no-dates {
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
    grid-column: 1 / -1;
}

/* ===========================
   CUSTOM SCROLLBARS
   =========================== */

/* Scrollbar styling for Live Sets */
.live-sets-content {
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
}

.live-sets-content:hover {
    scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

.live-sets-content::-webkit-scrollbar {
    width: 8px;
}

.live-sets-content::-webkit-scrollbar-track {
    background: transparent;
}

.live-sets-content::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 10px;
    transition: background 0.3s ease;
}

.live-sets-content:hover::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
}

.live-sets-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Scrollbar styling for Tour Dates */
.tour-content {
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
}

.tour-content:hover {
    scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

.tour-content::-webkit-scrollbar {
    width: 8px;
}

.tour-content::-webkit-scrollbar-track {
    background: transparent;
}

.tour-content::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 10px;
    transition: background 0.3s ease;
}

.tour-content:hover::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
}

.tour-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* ===========================
   CONTACT PAGE
   =========================== */

.contact-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    padding: 2rem;
    max-width: 1400px;
    width: 100%;
}

.contact-content {
    text-align: center;
    flex: 1;
}

.contact-content h1 {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

.contact-info {
    margin-bottom: 2rem;
}

.email-link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    color: var(--accent-color);
    text-decoration: none;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    transition: var(--transition);
    font-weight: 300;
}

.email-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.social-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.5rem;
    text-decoration: none;
    transition: var(--transition);
}

.social-icon:hover {
    transform: translateY(-5px);
}

.contact-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-image img {
    max-width: 500px;
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
}

.contact-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.7);
}

/* ===========================
   ABOUT PAGE
   =========================== */

.about-content {
    padding: 2rem;
    max-width: 1200px;
    width: 100%;
}

.about-content h1 {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 2rem;
    letter-spacing: 2px;
    text-align: center;
}

.about-icon {
    display: block;
    margin: 0 auto 1rem;
    width: 40px;
    height: 40px;
    transition: var(--transition);
}

.about-icon:hover {
    opacity: 1;
    transform: scale(1.1);
}

.about-text {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-secondary);
    font-weight: 300;
    column-count: 2;
    column-gap: 3rem;
    text-align: justify;
}

.about-text h2 {
    font-size: 1.2rem;
    font-weight: 500;
    margin: 1.5rem 0 0.8rem;
    color: var(--accent-color);
    text-align: left;
    column-span: all;
}

.about-text h4 {
    font-size: 1rem;
    font-weight: 500;
    margin: 1.2rem 0 0.5rem;
    color: var(--text-primary);
    text-align: center;
    font-style: italic;
    column-span: all;
}

.about-text p {
    margin-bottom: 1.2rem;
}

/* ===========================
   FOOTER
   =========================== */

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.5rem;
}

.footer-left p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 300;
}

.footer-left a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-right {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.footer-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
}

.footer-social-icon:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--accent-color);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.3);
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

@media (max-width: 1024px) {
    .music-content h1,
    .live-sets-content h1,
    .tour-content h1,
    .contact-content h1,
    .about-content h1 {
        font-size: 2.5rem;
    }

    .platform-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 53px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 53px);
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: left 0.4s ease;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        font-size: 1.2rem;
        padding: 1rem 0;
        text-align: center;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .mute-button {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        bottom: 80px;
        right: 20px;
        background: rgba(255, 255, 255, 0.2);
        border: 2px solid rgba(255, 255, 255, 0.4);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    }

    .home-logo {
        max-width: 300px;
    }

    .music-content h1,
    .live-sets-content h1,
    .tour-content h1,
    .contact-content h1,
    .about-content h1 {
        font-size: 2rem;
    }

    .platform-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .tour-item {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        text-align: center;
        padding: 1.5rem 1rem;
        gap: 1rem;
    }

    .tour-date {
        min-width: auto;
        justify-content: center;
    }

    .tour-venue-name {
        font-size: 0.9rem;
    }

    .tour-location {
        font-size: 1rem;
    }

    .tour-btn {
        width: 100%;
        text-align: center;
        justify-self: center;
    }

    .email-link {
        font-size: 1rem;
        padding: 1rem 2rem;
    }

    .about-text {
        font-size: 0.8rem;
        column-count: 1;
        column-gap: 0;
        line-height: 1.5;
    }

    .about-text p {
        margin-bottom: 0.8rem;
    }

    .about-text h2 {
        margin: 1rem 0 0.5rem;
        font-size: 1.1rem;
    }

    .about-text h4 {
        margin: 0.8rem 0 0.3rem;
        font-size: 0.9rem;
    }

    #about.page {
        overflow-y: auto;
        overflow-x: hidden;
    }

    .about-content {
        padding: 1.5rem;
        padding-bottom: 4rem;
        overflow-y: visible;
        max-height: none;
        height: auto;
    }

    .footer-content {
        flex-direction: column-reverse;
        gap: 0.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0.5rem 1rem;
    }

    .nav-logo img {
        height: 18px;
    }

    .nav-menu {
        top: 45px;
        height: calc(100vh - 45px);
        gap: 1.5rem;
    }

    .nav-link {
        font-size: 1.1rem;
    }

    #page-container {
        top: 45px;
        bottom: 0;
    }

    .mute-button {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
        bottom: 70px;
        right: 15px;
        background: rgba(255, 255, 255, 0.25);
        border: 2px solid rgba(255, 255, 255, 0.5);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .home-logo {
        max-width: 250px;
    }

    .platform-grid {
        gap: 1rem;
    }

    .line-break {
        display: none;
    }

    .platform-card {
        padding: 1rem 0.8rem;
        width: 130px;
        flex: 0 0 calc(50% - 0.5rem);
        max-width: 140px;
    }

    .platform-card i {
        font-size: 2rem;
    }

    .platform-card span {
        font-size: 0.8rem;
    }

    .deezer-icon {
        width: 32px;
        height: 32px;
    }

    .music-content h1,
    .live-sets-content h1,
    .tour-content h1,
    .contact-content h1,
    .about-content h1 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    #about.page {
        overflow-y: auto;
        overflow-x: hidden;
    }

    .live-sets-content {
        padding: 1rem;
        overflow-y: auto;
        max-height: calc(100vh - 100px);
    }

    .video-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 0;
    }

    .tour-list {
        padding: 0 1rem 2rem;
    }

    .tour-item {
        grid-template-columns: 1fr;
        padding: 1.2rem 1rem;
        gap: 0.8rem;
    }

    .tour-date {
        min-width: auto;
        gap: 0.4rem;
        justify-content: center;
    }

    .tour-date .month {
        font-size: 0.75rem;
    }

    .tour-date .day {
        font-size: 1.3rem;
    }

    .tour-venue-name {
        font-size: 0.85rem;
    }

    .tour-location {
        font-size: 0.95rem;
    }

    .tour-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.8rem;
        width: 100%;
        max-width: 200px;
        justify-self: center;
    }

    .tour-content {
        padding: 1rem;
    }

    .tour-content h1 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .video-wrapper {
        padding-bottom: 56.25%;
        border-radius: 5px;
    }

    .view-more-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        gap: 0.6rem;
        margin-top: 1.5rem;
        margin-bottom: 3rem;
        width: auto;
    }

    .about-content {
        padding: 1rem;
        padding-bottom: 5rem;
        overflow-y: visible;
        max-height: none;
        height: auto;
    }

    .about-icon {
        width: 30px;
        height: 30px;
        margin: 0 auto 0.5rem;
    }

    .about-text {
        font-size: 0.7rem;
        line-height: 1.4;
    }

    .about-text p {
        margin-bottom: 0.6rem;
    }

    .about-text h2 {
        margin: 0.8rem 0 0.4rem;
        font-size: 1rem;
    }

    .about-text h4 {
        margin: 0.6rem 0 0.3rem;
        font-size: 0.85rem;
    }

    .contact-wrapper {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }

    .contact-content h1 {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }

    .contact-info {
        margin-bottom: 1rem;
    }

    .email-link {
        font-size: 0.85rem;
        padding: 0.7rem 1.2rem;
        gap: 0.5rem;
    }

    .social-links {
        gap: 1rem;
    }

    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .contact-image {
        max-width: 100%;
    }

    .contact-image img {
        max-width: 300px;
        border-radius: 10px;
    }

    .footer-content {
        padding: 0.5rem;
    }

    .footer-left p {
        font-size: 0.75rem;
    }

    .footer-right img {
        height: 25px;
    }
}

/* Extra small screens */
@media (max-width: 375px) {
    .nav-menu {
        gap: 1.2rem;
    }

    .nav-link {
        font-size: 1rem;
        padding: 0.8rem 0;
    }

    .home-logo {
        max-width: 200px;
    }

    #about.page {
        overflow-y: auto;
        overflow-x: hidden;
    }

    .about-content {
        padding: 1rem;
        padding-bottom: 6rem;
        overflow-y: visible;
        max-height: none;
        height: auto;
    }
}

/* ===========================
   ACCESSIBILITY
   =========================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 4px;
}
