/*
Theme Name: Sherry
Theme URI: https://sherrymusic.com
Author: MH Naddaf
Description: A modern WordPress theme for SHERRY - DJ & Music Producer. Features home, about, contact, and live sets pages with distinctive design.
Version: 2.1
License: GNU General Public License v2 or later
Text Domain: sherry
*/

/* =============================================
   BASE RESET
   ============================================= */

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

body {
    font-family: 'Aeroport', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    overflow-x: hidden;
}

/* =============================================
   FONT DEFINITIONS
   ============================================= */

@font-face {
    font-family: 'Aeroport';
    src: url('assets/fonts/Aeroport-regular-trial.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Aeroport';
    src: url('assets/fonts/Aeroport-medium-trial.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Aeroport';
    src: url('assets/fonts/Aeroport-bold-trial.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Aeroport';
    src: url('assets/fonts/Aeroport-black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
}

/* =============================================
   TYPOGRAPHY
   ============================================= */

.menu-item-text {
    color: #FBFBFB !important;
    font-size: 32px;
    font-family: 'Aeroport', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.menu-item-text:hover {
    color: #A4A4A4 !important;
}

:root {
    --color-primary: #FBFBFB;
    --color-dark: #1A1A1A;
    --color-gray: #888888;
}

/* =============================================
   HEADER & MENU (shared)
   ============================================= */

.header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 60px;
    padding-top: 50px;
    z-index: 20;
}

body.about-page .header {
    position: fixed;
    z-index: 100;
    mix-blend-mode: difference;
}

body.about-page .header .logo {
    isolation: isolate;
}

.logo img {
    width: 50px;
    height: auto;
    transition: transform 0.3s ease;
}

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

.menu {
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity 0.3s ease;
    background: none;
    border: none;
}

.menu:hover {
    opacity: 0.7;
}

/* Sidebar Menu */
.sidebar-menu {
    position: fixed;
    top: 25px;
    right: -100%;
    width: 650px;
    max-height: calc(100vh - 50px);
    height: calc(100vh - 50px);
    background: #1a1a1a;
    z-index: 1000;
    transition: right 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    overflow: hidden;
}

.sidebar-menu.active {
    right: 25px;
}

/* Scrollable content - prevents overflow on small screens */
.sidebar-menu-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.menu-header {
    display: flex;
    justify-content: flex-end;
    padding: 30px 35px;
}

.close-btn {
    font-size: 12px;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    background: none;
    border: none;
    transition: opacity 0.3s ease;
}

.close-btn:hover {
    opacity: 0.7;
}

.menu-items {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 0 35px;
    gap: 18px;
}

.sidebar-menu .menu-item {
    cursor: pointer;
    transition: color 150ms ease-out, opacity 0.15s ease, transform 0.15s ease;
    opacity: 0;
    transform: translateX(50px);
    text-decoration: none;
    color: inherit;
}

.sidebar-menu.active .menu-item {
    opacity: 1;
    transform: translateX(0);
}

.sidebar-menu.active .menu-item:nth-child(1) { transition-delay: 0.1s; }
.sidebar-menu.active .menu-item:nth-child(2) { transition-delay: 0.15s; }
.sidebar-menu.active .menu-item:nth-child(3) { transition-delay: 0.2s; }
.sidebar-menu.active .menu-item:nth-child(4) { transition-delay: 0.25s; }
.sidebar-menu.active .menu-item:nth-child(5) { transition-delay: 0.3s; }



.sidebar-menu .menu-item:hover {
    color: #A4A4A4;
}

.menu-contact {
    padding: 10px 15px 15px;
    flex-shrink: 0;
}

.contact-image-wrapper {
    position: relative;
    width: 100%;
    height: min(360px, 28vh);
    min-height: 140px;
    border-radius: 12px;
    overflow: hidden;
}

.contact-label {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 11px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 2;
    font-weight: 500;
}

.contact-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.social-icons {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 0 15px;
    margin-bottom: 10px;
    justify-content: flex-end;
    padding-right: 20px;
}

.social-icon {
    width: 64px;
    height: 64px;
    background: #2a2a2a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    color: #FBFBFB;
    transform: translateY(-3px);
}

.social-icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.social-icon:hover img {
    opacity: 1;
}

.arrow-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 64px;
    height: 64px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 4;
    text-decoration: none;
}

.arrow-btn:hover {
    transform: scale(1.1);
}

.arrow-btn img {
    width: 30px;
    height: 30px;
}

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

.home-container {
    width: 100%;
    height: 100vh;
    background-image: url('assets/images/backkground.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.main-title {
    font-size: clamp(80px, 15vw, 280px);
    font-weight: 900;
    color: #e8e8e8;
    letter-spacing: -8px;
    text-transform: uppercase;
    font-family: 'Arial Black', 'Impact', sans-serif;
    position: relative;
    z-index: 5;
    line-height: 0.9;
    text-align: center;
    mix-blend-mode: normal;
    opacity: 0.8;
}

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

@media (max-width: 1024px) {
    .header { padding: 30px 40px; }
    .main-title { font-size: clamp(60px, 12vw, 180px); letter-spacing: -4px; }
}

@media (max-width: 768px) {
    .header { padding: 20px 30px; }
    .menu { font-size: 12px; letter-spacing: 2px; }
    .main-title { font-size: clamp(50px, 15vw, 120px); letter-spacing: -2px; }
    .sidebar-menu {
        width: calc(100% - 30px);
        right: -100%;
        top: 15px;
        height: calc(100vh - 30px);
    }
    .sidebar-menu.active { right: 15px; }
    .menu-header { padding: 25px 25px; }
    .menu-items { padding: 0 25px; gap: 15px; }
    .menu-contact { padding: 15px 25px 25px; }
    .social-icons { padding: 0 25px; padding-right: 50px; gap: 10px; }
    .social-icon { width: 35px; height: 35px; }
    .contact-image-wrapper { height: min(200px, 22vh); min-height: 120px; }
    .menu-item-text { font-size: 28px; }
}

/* Responsive for short viewports (e.g. 13" MacBook) */
@media (max-height: 800px) {
    .contact-image-wrapper { height: min(200px, 20vh); min-height: 120px; }
}

@media (max-height: 600px) {
    .contact-image-wrapper { height: 120px; min-height: 100px; }
}

@media (max-width: 480px) {
    .header { padding: 15px 20px; }
    .main-title { font-size: clamp(40px, 18vw, 80px); }
    .menu-item-text { font-size: 24px; }
}

/* =============================================
   ANIMATIONS
   ============================================= */

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

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

body.home .logo,
body.home .menu {
    animation: fadeInUp 0.8s ease forwards;
}

body.home .main-title {
    animation: fadeInUpTitle 1s ease 0.2s forwards;
    opacity: 0;
}
