@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Open+Sans:wght@300;400;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
    /* Colors */
    --color-primary: #C79A4B;       /* Luxury Gold */
    --color-primary-hover: #b0853b;
    --color-dark: #1F1F1F;          /* Charcoal Black */
    --color-darker: #111111;        /* Deep Black */
    --color-text: #555555;          /* Muted Body Text */
    --color-text-light: #888888;
    --color-white: #FFFFFF;
    --color-bg-light: #F8F8F8;
    --color-bg-dark: #1a1a1a;
    --color-border: #e5e5e5;
    --color-overlay: rgba(0, 0, 0, 0.35);
    --color-overlay-dark: rgba(0, 0, 0, 0.6);

    /* Fonts */
    --font-title: 'Playfair Display', serif;
    --font-body: 'Open Sans', sans-serif;
    --font-btn: 'Montserrat', sans-serif;

    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: all 0.2s ease-in-out;
    
    /* Shadows */
    --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 35px rgba(199, 154, 75, 0.15);
    
    /* Layout */
    --max-width: 1200px;
    --header-height: 80px;
}

/* ==========================================================================
   BASE & RESET
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text);
    background-color: var(--color-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    color: var(--color-dark);
    font-weight: 700;
    line-height: 1.3;
}

p {
    margin-bottom: 1.5rem;
}

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

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: var(--transition-smooth);
}

/* ==========================================================================
   REUSABLE COMPONENTS
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
    position: relative;
    width: 100%;
}

.section--dark {
    background-color: var(--color-darker);
    color: var(--color-white);
}

.section--dark h2,
.section--dark h3 {
    color: var(--color-white);
}

.section--light {
    background-color: var(--color-bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    font-family: var(--font-btn);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-primary);
    display: block;
    margin-bottom: 15px;
    font-weight: 600;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background-color: var(--color-primary);
    margin: 20px auto 0;
}

.btn {
    font-family: var(--font-btn);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 15px 35px;
    border-radius: 4px;
    display: inline-block;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.btn--primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn--primary:hover {
    background-color: var(--color-darker);
    border-color: var(--color-white);
    color: var(--color-white);
}

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

.btn--outline-gold:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn--dark {
    background-color: var(--color-dark);
    color: var(--color-white);
}

.btn--dark:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* ==========================================================================
   1. HEADER & NAVIGATION
   ========================================================================== */
header.site-header {
    height: var(--header-height);
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
    background-color: rgba(31, 31, 31, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

header.site-header.scrolled {
    background-color: var(--color-darker);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
    height: 75px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-title);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 1px;
}

.logo-leaf {
    color: var(--color-primary);
    font-size: 2rem;
}

.logo-text span {
    color: var(--color-primary);
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-family: var(--font-btn);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    padding: 10px 0;
}

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

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

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

.header-icons {
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--color-white);
}

.header-icon-btn {
    background: none;
    border: none;
    color: inherit;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition-fast);
    padding: 5px;
}

.header-icon-btn:hover {
    color: var(--color-primary);
}

.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1010;
}

.burger-bar {
    width: 100%;
    height: 2px;
    background-color: var(--color-white);
    transition: var(--transition-smooth);
}

/* ==========================================================================
   2. HERO SLIDER
   ========================================================================== */
#hero {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    background-color: var(--color-darker);
}

.hero-slider {
    height: 100%;
    width: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), visibility 1s;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: transform 6s ease-out;
}

.slide.active .slide-bg {
    transform: scale(1);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-overlay);
}

.slide-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--color-white);
    padding: 0 20px;
    max-width: 800px;
    margin: 0 auto;
}

.slide-subtitle {
    font-family: var(--font-btn);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--color-primary);
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out 0.3s, transform 0.8s ease-out 0.3s;
}

.slide-title {
    font-size: 5rem;
    font-weight: 400;
    color: var(--color-white);
    margin-bottom: 25px;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out 0.5s, transform 0.8s ease-out 0.5s;
}

.slide-desc {
    font-size: 1.1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 35px;
    max-width: 600px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out 0.7s, transform 0.8s ease-out 0.7s;
}

.slide-btn {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out 0.9s, transform 0.8s ease-out 0.9s;
}

.slide.active .slide-subtitle,
.slide.active .slide-title,
.slide.active .slide-desc,
.slide.active .slide-btn {
    opacity: 1;
    transform: translateY(0);
}

/* Slider Controls */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition-smooth);
}

.slider-arrow:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.slider-arrow--prev {
    left: 40px;
}

.slider-arrow--next {
    right: 40px;
}

.slider-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.slider-dot.active {
    background-color: var(--color-primary);
    transform: scale(1.3);
}

/* ==========================================================================
   3. ABOUT SECTION
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-img-wrapper {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.about-img-wrapper::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 1px solid rgba(199, 154, 75, 0.4);
    pointer-events: none;
    z-index: 2;
}

.about-content {
    padding-right: 40px;
}

.about-title {
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.about-highlight {
    font-size: 1.1rem;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 20px;
}

/* ==========================================================================
   4. NEWSLETTER SECTION
   ========================================================================== */
#newsletter {
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 120px 0;
}

.newsletter-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-overlay-dark);
    z-index: 1;
}

.newsletter-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.newsletter-content {
    color: var(--color-white);
}

.newsletter-title {
    font-size: 2.5rem;
    color: var(--color-white);
    margin-bottom: 15px;
}

.newsletter-desc {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 35px;
    font-size: 1.05rem;
}

.newsletter-form {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 15px;
}

.form-group {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 16px 20px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    border-radius: 4px;
    transition: var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    background-color: rgba(255, 255, 255, 0.12);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter-img {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.validation-error {
    color: #ff5252;
    font-size: 0.8rem;
    margin-top: 5px;
    position: absolute;
    bottom: -22px;
    left: 5px;
    font-family: var(--font-btn);
}

/* ==========================================================================
   5. SALON INTRODUCTION (INTRO)
   ========================================================================== */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-content {
    padding-left: 20px;
}

.intro-title {
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.intro-desc {
    margin-bottom: 30px;
}

.intro-img-wrapper {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.intro-img-wrapper img {
    width: 100%;
}

/* ==========================================================================
   6. GALLERY
   ========================================================================== */
.gallery-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.gallery-row-top {
    width: 100%;
}

.gallery-row-bottom {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.gallery-item {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    cursor: pointer;
    box-shadow: var(--shadow-subtle);
}

.gallery-row-top .gallery-item {
    aspect-ratio: 24 / 9;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(31, 31, 31, 0.7);
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition-smooth);
    z-index: 2;
}

.gallery-icon {
    color: var(--color-primary);
    font-size: 3rem;
    transform: scale(0.6);
    transition: var(--transition-smooth);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

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

.gallery-item:hover .gallery-icon {
    transform: scale(1);
}

/* ==========================================================================
   7. SERVICES HIGHLIGHT
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.services-img-wrapper {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.services-content {
    padding-right: 40px;
}

.services-title {
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.services-desc {
    margin-bottom: 30px;
}

/* ==========================================================================
   8. PARALLAX SECTION
   ========================================================================== */
#parallax {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    padding: 150px 0;
    text-align: center;
    color: var(--color-white);
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-overlay-dark);
    z-index: 1;
}

.parallax-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.parallax-title {
    font-size: 3.5rem;
    color: var(--color-white);
    margin-bottom: 20px;
}

.parallax-desc {
    font-size: 1.2rem;
    margin-bottom: 35px;
    color: rgba(255, 255, 255, 0.85);
}

/* ==========================================================================
   9. BLOG SECTION
   ========================================================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background-color: var(--color-white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-8px);
}

.blog-img-wrapper {
    height: 240px;
    overflow: hidden;
}

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

.blog-card:hover .blog-img-wrapper img {
    transform: scale(1.05);
}

.blog-info {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    display: flex;
    gap: 15px;
    font-family: var(--font-btn);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.blog-date {
    color: var(--color-text-light);
}

.blog-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-title a:hover {
    color: var(--color-primary);
}

.blog-excerpt {
    font-size: 0.95rem;
    color: var(--color-text);
    margin-bottom: 25px;
    flex-grow: 1;
}

.blog-readmore {
    font-family: var(--font-btn);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    color: var(--color-dark);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.blog-readmore:hover {
    color: var(--color-primary);
}

/* ==========================================================================
   10. STATISTICS SECTION
   ========================================================================== */
#features {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    padding: 100px 0;
}

.features-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-overlay-dark);
    z-index: 1;
}

.stats-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    color: var(--color-white);
    padding: 20px;
}

.stat-icon {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 20px;
    display: inline-block;
}

.stat-number {
    font-size: 3.5rem;
    font-family: var(--font-title);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 10px;
    line-height: 1;
}

.stat-title {
    font-family: var(--font-btn);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   11. STORIES SECTION (STORIES FROM SALON)
   ========================================================================== */
.stories-container {
    display: grid;
    grid-template-columns: 0.8fr 1.4fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.story-img-left,
.story-img-right {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.story-content {
    text-align: center;
    padding: 0 20px;
}

.story-title {
    font-size: 2.8rem;
    margin-bottom: 25px;
}

.story-desc {
    margin-bottom: 35px;
}

/* ==========================================================================
   12. FOOTER
   ========================================================================== */
footer.site-footer {
    background-color: var(--color-darker);
    color: rgba(255, 255, 255, 0.65);
    padding: 80px 0 0;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col-title {
    color: var(--color-white);
    font-size: 1.25rem;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.footer-col-title::after {
    content: '';
    display: block;
    width: 30px;
    height: 1px;
    background-color: var(--color-primary);
    margin-top: 10px;
}

/* Column 1: Info */
.footer-info .logo {
    margin-bottom: 20px;
}

.footer-desc {
    margin-bottom: 25px;
    line-height: 1.6;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.social-link:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-3px);
}

/* Column 2: Recent Posts */
.footer-posts-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-post-item a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-family: var(--font-title);
    font-size: 1.05rem;
    line-height: 1.4;
    margin-bottom: 5px;
}

.footer-post-item a:hover {
    color: var(--color-primary);
}

.footer-post-date {
    font-size: 0.75rem;
    font-family: var(--font-btn);
    color: var(--color-text-light);
    text-transform: uppercase;
}

/* Column 3: Instagram Grid */
.footer-insta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.footer-insta-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 2px;
    position: relative;
}

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

.footer-insta-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(199, 154, 75, 0.7);
    opacity: 0;
    transition: var(--transition-fast);
}

.footer-insta-item:hover::after {
    opacity: 1;
}

.footer-insta-item:hover img {
    transform: scale(1.1);
}

/* Copyright Bottom */
.footer-bottom {
    background-color: #0b0b0b;
    padding: 25px 0;
    text-align: center;
    font-family: var(--font-btn);
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

/* ==========================================================================
   BACK TO TOP BUTTON
   ========================================================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--color-darker);
    color: var(--color-white);
    transform: translateY(-3px);
}

/* ==========================================================================
   LIGHTBOX MODAL
   ========================================================================== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.95);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content-wrapper {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
}

.lightbox-img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    transform: scale(0.95);
    transition: transform 0.4s ease;
}

.lightbox.active .lightbox-img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: -45px;
    right: 0;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.lightbox-close:hover {
    color: var(--color-primary);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.lightbox-nav:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.lightbox-prev {
    left: -70px;
}

.lightbox-next {
    right: -70px;
}

/* ==========================================================================
   SECONDARY PAGES STYLES
   ========================================================================== */

/* Subpage Banners */
.subpage-banner {
    position: relative;
    padding: 160px 0 80px;
    background-size: cover;
    background-position: center;
    text-align: center;
    color: var(--color-white);
    background-color: var(--color-darker);
}

.subpage-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-overlay-dark);
    z-index: 1;
}

.subpage-banner-content {
    position: relative;
    z-index: 2;
}

.subpage-banner-title {
    font-size: 3.5rem;
    color: var(--color-white);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.breadcrumbs {
    font-family: var(--font-btn);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    justify-content: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumbs a {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumbs a:hover {
    color: var(--color-primary);
}

.breadcrumbs span {
    color: var(--color-primary);
}

/* --- ABOUT PAGE SPECIFICS --- */
.history-section {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.history-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.team-card {
    background-color: var(--color-bg-light);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-smooth);
    text-align: center;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.team-img-wrapper {
    height: 320px;
    overflow: hidden;
    position: relative;
}

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

.team-socials {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    background-color: rgba(31, 31, 31, 0.95);
    padding: 12px 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    transition: var(--transition-smooth);
}

.team-card:hover .team-socials {
    bottom: 0;
}

.team-social-link {
    color: var(--color-white);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

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

.team-info {
    padding: 25px 20px;
}

.team-name {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.team-role {
    font-family: var(--font-btn);
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--color-primary);
    font-weight: 600;
    letter-spacing: 1px;
}

/* --- SERVICES PAGE SPECIFICS --- */
.price-list-container {
    max-width: 900px;
    margin: 0 auto;
}

.price-category {
    margin-bottom: 60px;
}

.price-category-title {
    font-size: 2rem;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 10px;
    color: var(--color-dark);
    display: flex;
    align-items: center;
    gap: 15px;
}

.price-category-title i {
    color: var(--color-primary);
    font-size: 1.5rem;
}

.price-items-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.price-item {
    display: flex;
    flex-direction: column;
}

.price-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 5px;
}

.price-item-name {
    font-family: var(--font-title);
    font-size: 1.25rem;
    color: var(--color-dark);
    font-weight: 600;
    background-color: var(--color-white);
    padding-right: 15px;
    z-index: 2;
}

.services-menu-dark .price-item-name {
    background-color: var(--color-darker);
    color: var(--color-white);
}

.price-item-dots {
    flex-grow: 1;
    border-bottom: 1px dotted rgba(85, 85, 85, 0.35);
    margin-bottom: 6px;
    margin-right: 15px;
}

.price-item-value {
    font-family: var(--font-btn);
    font-size: 1.15rem;
    color: var(--color-primary);
    font-weight: 700;
    z-index: 2;
}

.price-item-desc {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.5;
}

/* FAQ / Accordion Section */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background-color: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition-fast);
}

.faq-item.active {
    border-color: var(--color-primary);
    background-color: var(--color-white);
    box-shadow: var(--shadow-subtle);
}

.faq-question {
    width: 100%;
    padding: 22px 30px;
    background: none;
    border: none;
    text-align: left;
    font-family: var(--font-title);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-fast);
}

.faq-question:hover {
    color: var(--color-primary);
}

.faq-icon {
    font-size: 0.95rem;
    transition: transform 0.3s ease;
    color: var(--color-primary);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-answer-content {
    padding: 0 30px 25px;
    font-size: 0.95rem;
    color: var(--color-text);
}

/* --- GALLERY PAGE SPECIFICS --- */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    font-family: var(--font-btn);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 10px 25px;
    background: none;
    border: 1px solid var(--color-border);
    color: var(--color-text);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

.subpage-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.subpage-gallery-grid .gallery-item {
    aspect-ratio: 4 / 3;
}

/* Hide animation logic for filtered items */
.gallery-item.hidden {
    display: none;
}

/* --- BLOG PAGE SPECIFICS --- */
.blog-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.blog-list {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.blog-list .blog-card {
    flex-direction: row;
    align-items: center;
}

.blog-list .blog-img-wrapper {
    width: 40%;
    height: 100%;
    min-height: 280px;
}

.blog-list .blog-info {
    width: 60%;
}

.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.sidebar-widget {
    background-color: var(--color-bg-light);
    padding: 30px;
    border-radius: 4px;
    border: 1px solid var(--color-border);
}

.widget-title {
    font-size: 1.35rem;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 8px;
    color: var(--color-dark);
}

/* Sidebar Search Widget */
.search-form {
    display: flex;
}

.search-input {
    flex-grow: 1;
    padding: 14px 18px;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-right: none;
    font-family: var(--font-body);
    font-size: 0.9rem;
    border-radius: 4px 0 0 4px;
}

.search-input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.search-submit {
    background-color: var(--color-primary);
    color: var(--color-white);
    border: none;
    padding: 0 20px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: var(--transition-fast);
}

.search-submit:hover {
    background-color: var(--color-darker);
}

/* Sidebar Categories Widget */
.categories-list-widget li {
    margin-bottom: 12px;
}

.categories-list-widget li:last-child {
    margin-bottom: 0;
}

.categories-list-widget a {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    color: var(--color-text);
}

.categories-list-widget a:hover {
    color: var(--color-primary);
}

.categories-list-widget span {
    color: var(--color-text-light);
    font-size: 0.85rem;
}

/* Sidebar Tags Widget */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-link {
    font-family: var(--font-btn);
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.5px;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    padding: 6px 14px;
    border-radius: 3px;
    transition: var(--transition-fast);
}

.tag-link:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.page-num {
    width: 45px;
    height: 45px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-btn);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text);
    transition: var(--transition-fast);
}

.page-num:hover,
.page-num.active {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

/* --- SHOP PAGE SPECIFICS --- */
.shop-layout {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 40px;
}

.shop-sidebar {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.filter-group {
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 25px;
}

.filter-group:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.filter-title {
    font-family: var(--font-btn);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 18px;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--color-text);
    cursor: pointer;
}

.filter-checkbox-label input {
    accent-color: var(--color-primary);
    width: 16px;
    height: 16px;
}

.shop-catalog-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.shop-sorting select {
    padding: 10px 15px;
    border: 1px solid var(--color-border);
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--color-text);
    border-radius: 4px;
    background-color: var(--color-white);
}

.shop-sorting select:focus {
    outline: none;
    border-color: var(--color-primary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background-color: var(--color-white);
    border-radius: 4px;
    border: 1px solid var(--color-border);
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(199, 154, 75, 0.3);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--color-primary);
    color: var(--color-white);
    font-family: var(--font-btn);
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 2px;
    z-index: 5;
}

.product-img-wrapper {
    height: 250px;
    overflow: hidden;
    background-color: var(--color-bg-light);
    position: relative;
}

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

.product-card:hover .product-img-wrapper img {
    transform: scale(1.05);
}

.product-actions {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    background-color: rgba(17, 17, 17, 0.9);
    padding: 10px;
    display: flex;
    justify-content: center;
    transition: var(--transition-smooth);
}

.product-card:hover .product-actions {
    bottom: 0;
}

.btn-add-cart {
    background: none;
    border: none;
    color: var(--color-white);
    font-family: var(--font-btn);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.btn-add-cart:hover {
    color: var(--color-primary);
}

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: center;
}

.product-category {
    font-family: var(--font-btn);
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--color-text-light);
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.product-title {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--color-dark);
}

.product-rating {
    color: #ffd700;
    font-size: 0.8rem;
    margin-bottom: 12px;
}

.product-price {
    font-family: var(--font-btn);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary);
}

