/* ================================
   STELIMOLLOY MEN'S SALON - STYLES
   Industrial Silver/Grey Theme - NO BROWN TONES
   ================================ */

/* ===== CSS VARIABLES ===== */
:root {
    /* Primary Colors - Industrial Silver/Grey */
    --primary-dark: #242627;
    --primary-grey: #4d4d4d;
    --hover-grey: #6d6d6d;
    --light-grey: #8d8d8d;

    /* Supporting Colors */
    --card-dark: #2e3032;
    --card-hover: #383a3c;
    --vip-gradient-light: #3d3f41;
    --vip-gradient-dark: #2d2f31;

    /* Text Colors */
    --text-primary: #e5e5e5;
    --text-secondary: #c0c0c0;
    --text-accent: #cccccc;
    --text-dark: #3a3a3a;

    /* Accent Colors */
    --gold-stars: #D4AF37;
    --orange-accent: #FF6600;
    --white: #ffffff;
    --black: #000000;

    /* Typography */
    --font-family: 'Montserrat', sans-serif;
    --weight-light: 300;
    --weight-regular: 400;
    --weight-medium: 500;
    --weight-semibold: 600;
    --weight-bold: 700;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.5), 0 2px 8px rgba(0,0,0,0.3);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.6), 0 4px 12px rgba(0,0,0,0.4);
}

/* ===== GLOBAL RESETS & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    background-color: var(--primary-dark);
    color: var(--text-primary);
    line-height: 1.6;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: var(--weight-semibold);
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-secondary);
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

/* ===== CONTAINER & LAYOUT ===== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-2xl) 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    font-size: 2.5rem;
    font-weight: var(--weight-semibold);
    color: var(--text-primary);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    letter-spacing: 0.5px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-family: var(--font-family);
    font-size: 1rem;
    font-weight: var(--weight-medium);
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    min-width: 44px;
    min-height: 44px;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-grey) 0%, var(--primary-dark) 100%);
    border: 2px solid var(--hover-grey);
    color: var(--text-primary);
    box-shadow: var(--shadow-md);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.btn-primary:hover {
    border-color: var(--light-grey);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    border-color: var(--hover-grey);
    background: var(--card-dark);
    transform: translateY(-2px);
}

.btn-text {
    background: none;
    border: none;
    color: var(--text-accent);
    padding: 0.5rem 1rem;
}

.btn-text:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

/* ===== CARDS ===== */
.card {
    background: var(--primary-dark);
    border: 1px solid var(--primary-grey);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.card:hover {
    border-color: var(--hover-grey);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.card-title {
    font-size: 1.5rem;
    font-weight: var(--weight-semibold);
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.card-text {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== GRID SYSTEMS ===== */
.grid {
    display: grid;
    gap: var(--spacing-lg);
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr)); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); }
.grid-6 { grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); }

/* ===== HEADER & NAVIGATION ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff !important;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all var(--transition-normal);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem var(--spacing-md);
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: block;
    height: 38px;
    width: auto;
}

.logo img {
    height: 100%;
    width: auto;
    display: block;
}

.nav {
    display: flex;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: var(--weight-medium);
    color: #000000 !important;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #333333 !important;
}

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

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

/* Header Social Icons */
.header-social-icons {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
    margin-left: 2rem;
}

.social-icon-header {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    transition: all var(--transition-fast);
}

.social-icon-header svg {
    width: 100%;
    height: 100%;
    fill: #000000;
    transition: all var(--transition-fast);
}

.social-icon-header:hover {
    transform: scale(1.15);
}

.social-icon-header:hover svg {
    fill: #333333;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #000000 !important;
    transition: all var(--transition-fast);
}

/* ===== FOOTER ===== */
.footer {
    background: #1a1b1c;
    border-top: 1px solid var(--primary-grey);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.footer-section h4 {
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.footer-section p,
.footer-section a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-section a:hover {
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-xs);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-dark);
    border: 1px solid var(--primary-grey);
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.social-icon:hover {
    border-color: var(--hover-grey);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--primary-grey);
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: 100% auto;
    background-position: top center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(36, 38, 39, 0.92) 0%, rgba(36, 38, 39, 0.75) 60%, rgba(36, 38, 39, 0.4) 100%);
}

/* .hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 40%;
    background: #0d0d0d;
    z-index: 1;
} */

/* Home Page Hero Layout */
.hero-home {
    justify-content: flex-start;
}

.hero-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
    gap: 4rem;
}

.hero-left-column {
    flex: 1;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.hero-text-col {
    text-align: left;
    padding: 0 var(--spacing-md);
}

.hero-home .hero-content {
    text-align: left;
}

.hero-text-col .hero-title {
    margin-bottom: var(--spacing-lg);
}

.hero-image {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-image img {
    width: auto;
    height: 100vh;
    min-height: 600px;
    max-height: 100vh;
    display: block;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    opacity: 0.95;
    mask-image:
        linear-gradient(to right, transparent 0%, rgba(0,0,0,0.3) 10%, rgba(0,0,0,0.8) 30%, black 50%, black 85%, rgba(0,0,0,0.6) 95%, rgba(0,0,0,0.2) 100%);
    -webkit-mask-image:
        linear-gradient(to right, transparent 0%, rgba(0,0,0,0.3) 10%, rgba(0,0,0,0.8) 30%, black 50%, black 85%, rgba(0,0,0,0.6) 95%, rgba(0,0,0,0.2) 100%);
    mask-composite: source-over;
    -webkit-mask-composite: source-over;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 var(--spacing-md);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: var(--weight-bold);
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    letter-spacing: 1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
}

.hero-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
    font-size: 1.5rem;
    color: var(--gold-stars);
}

.hero-home .hero-rating {
    justify-content: flex-start;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.hero-home .hero-buttons {
    justify-content: flex-start;
}

/* ===== STARS ===== */
.stars {
    color: var(--gold-stars);
    font-size: 1.25rem;
    letter-spacing: 2px;
}

/* ===== MODAL ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: var(--spacing-md);
}

.modal {
    background: var(--primary-dark);
    border: 1px solid var(--primary-grey);
    border-radius: var(--radius-lg);
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.modal-close {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: var(--card-dark);
    border: 1px solid var(--primary-grey);
    color: var(--text-primary);
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.modal-close:hover {
    border-color: var(--hover-grey);
    transform: rotate(90deg);
}

.modal-content {
    padding: var(--spacing-xl);
}

/* ===== ACCORDION ===== */
.accordion-item {
    border: 1px solid var(--primary-grey);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
    overflow: hidden;
}

.accordion-header {
    background: var(--card-dark);
    padding: var(--spacing-md) var(--spacing-lg);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all var(--transition-fast);
}

.accordion-header:hover {
    background: var(--card-hover);
}

.accordion-title {
    font-size: 1.25rem;
    font-weight: var(--weight-medium);
    color: var(--text-primary);
}

.accordion-icon {
    font-size: 1.5rem;
    transition: transform var(--transition-fast);
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.accordion-item.active .accordion-content {
    max-height: 2000px;
}

.accordion-body {
    padding: var(--spacing-lg);
}

.service-item {
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--primary-grey);
}

.service-item:last-child {
    border-bottom: none;
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-xs);
}

.service-name {
    font-weight: var(--weight-medium);
    color: var(--text-primary);
    font-size: 1.1rem;
}

.service-price {
    color: var(--text-accent);
    font-weight: var(--weight-semibold);
    font-size: 1.1rem;
}

.service-meta {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-xs);
}

.service-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

.service-price {
    color: var(--text-accent);
    font-weight: var(--weight-semibold);
    font-size: 1.5rem;
    margin-top: 1rem;
}

/* ===== VIP SECTION ===== */
.vip-box {
    background: linear-gradient(135deg, var(--vip-gradient-light) 0%, var(--vip-gradient-dark) 100%);
    border: 2px solid var(--hover-grey);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    margin-top: var(--spacing-lg);
}

.vip-box h3 {
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.vip-benefits {
    list-style: none;
    padding-left: 0;
}

.vip-benefits li {
    padding: var(--spacing-xs) 0;
    color: var(--text-secondary);
}

.vip-benefits li::before {
    content: '✓';
    color: var(--text-primary);
    font-weight: var(--weight-bold);
    margin-right: var(--spacing-sm);
}

/* ===== RESPONSIVE BREAKPOINTS ===== */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-6 { grid-template-columns: repeat(3, 1fr); }
    .footer-content { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    html { font-size: 14px; }

    h1 { font-size: 2.25rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.75rem; }

    .hero-title { font-size: 2.5rem; }

    .grid-2,
    .grid-3,
    .grid-4,
    .grid-6 {
        grid-template-columns: 1fr;
    }

    .nav {
        position: fixed;
        top: 65px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 65px);
        flex-direction: column;
        background: #ffffff !important;
        padding: var(--spacing-xl) var(--spacing-md);
        transition: left var(--transition-normal);
        border-top: 1px solid #e0e0e0;
    }

    .nav.active {
        left: 0;
    }

    .menu-toggle {
        display: flex;
        position: absolute;
        right: 1rem;
    }

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

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

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

    .header-content {
        justify-content: center;
        position: relative;
    }

    .logo {
        margin: 0;
        margin-right: 50px;
        height: 28px;
        flex: 1;
        text-align: center;
    }

    .logo img {
        height: 28px;
    }

    .header-social-icons {
        flex-direction: row;
        margin-left: 0;
        margin-top: 2rem;
        padding-top: 2rem;
        border-top: 1px solid #e0e0e0;
        justify-content: center;
        gap: 1.5rem;
    }

    .social-icon-header {
        width: 18px;
        height: 18px;
    }

    /* Hero Mobile Styles */
    .hero {
        min-height: auto;
        height: auto;
        padding: 3rem 0;
    }

    .hero-wrapper {
        flex-direction: column;
        gap: 2rem;
        padding: 0 var(--spacing-md);
    }

    .hero-left-column {
        display: contents;
    }

    .hero-text-col {
        order: 1;
        max-width: 100%;
        text-align: center;
    }

    .hero-image {
        order: 2;
        flex: 0 0 auto;
        height: auto;
        max-width: 350px;
        width: 100%;
        margin: 0 auto;
        align-self: center;
    }

    .hero-content {
        order: 3;
    }

    .hero-home .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-image img {
        width: 100%;
        height: auto;
        max-height: 500px;
        aspect-ratio: 938 / 1252;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }

    .hero-home .hero-rating {
        justify-content: center;
    }

    .hero-home .hero-buttons {
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    html { font-size: 12px; }

    .section {
        padding: var(--spacing-xl) 0;
    }

    .btn {
        width: 100%;
        padding: 1rem;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); }

.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }

.p-1 { padding: var(--spacing-xs); }
.p-2 { padding: var(--spacing-sm); }
.p-3 { padding: var(--spacing-md); }
.p-4 { padding: var(--spacing-lg); }
.p-5 { padding: var(--spacing-xl); }

/* ===== IMAGE STYLES ===== */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

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

/* ===== LOADING & ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.fade-in {
    animation: fadeIn var(--transition-normal);
}

.slide-up {
    animation: slideUp var(--transition-slow);
}

/* ===== TICKER TAPE ===== */
.ticker-wrapper {
    width: 100%;
    overflow: hidden;
    background: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
    height: 35px;
    display: flex;
    align-items: center;
}

.ticker {
    display: flex;
    white-space: nowrap;
    animation: scroll 30s linear infinite;
}

.ticker-item {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #000000;
    padding: 0 50px;
    display: inline-block;
}

.ticker-item::after {
    content: "•";
    margin-left: 50px;
    color: #cccccc;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.ticker-wrapper:hover .ticker {
    animation-play-state: paused;
}

@media (max-width: 768px) {
    .ticker-wrapper {
        height: 35px;
    }

    .ticker-item {
        font-size: 13px;
        padding: 0 30px;
    }

    .ticker-item::after {
        margin-left: 30px;
    }
}
