/* ==========================================================================
   STYLE.CSS - Sistemul de Design Mirelle Beauty Studio
   ========================================================================== */

:root {
    --bg-base: #FDFBF7;
    --bg-cream: #F2E1C1;
    --bg-cream-light: #FBF7F0;
    --text-dark: #3E2C1C;
    --text-muted: #6A5B4D;
    --accent-gold: #8D6322;
    --accent-gold-hover: #6D4B17;
    --border-gold: rgba(141, 99, 34, 0.25);
    --white: #FFFFFF;
    --font-serif: 'Cinzel', serif;
    --font-sans: 'Montserrat', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-premium: 0 15px 35px rgba(62, 44, 28, 0.05);
}

/* Resetare Universală */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-base);
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    background-color: var(--bg-base);
}

/* Tipografie */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: 1px;
}

p {
    font-weight: 300;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

/* Container de Aliniere */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Butoane Call to Action */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-align: center;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--accent-gold-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
}

.btn-secondary:hover {
    background-color: var(--accent-gold);
    color: var(--white);
}

/* Navigație și Header */
.header {
    background-color: rgba(253, 251, 247, 0.96);
    border-bottom: 1px solid var(--border-gold);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(8px);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 50px;
    width: auto;
    border-radius: 50%;
}

.logo-meta {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--text-dark);
}

.logo-sub {
    font-family: var(--font-sans);
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-gold);
    margin-top: 4px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding: 0.5rem 0;
    color: var(--text-dark);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-gold);
    transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-gold);
}

/* Meniu Mobile Hamburger */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text-dark);
    transition: var(--transition-smooth);
}

/* Secțiuni Tipice */
.section {
    padding: 6rem 0;
}

.section-alt {
    padding: 6rem 0;
    background-color: var(--bg-cream-light);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.section-title {
    font-size: 2.4rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 0.8rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
}

/* Pagina de Hero Intern */
.page-hero {
    background-color: var(--bg-cream);
    padding: 5rem 0;
    text-align: center;
    border-bottom: 1px solid var(--border-gold);
}

.page-hero h1 {
    font-size: 2.6rem;
    color: var(--text-dark);
}

.breadcrumbs {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-gold);
    margin-top: 0.5rem;
}

/* Hero - Pagina Principală */
.hero {
    min-height: calc(85vh - 80px);
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(rgba(62, 44, 28, 0.55), rgba(62, 44, 28, 0.55)), 
                url('https://images.unsplash.com/photo-1560066984-138dadb4c035?auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
}

.hero-content {
    color: var(--white);
    max-width: 650px;
}

.hero-content h1 {
    font-size: 3.8rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.hero-content p {
    font-size: 1.1rem;
    color: rgba(253, 251, 247, 0.9);
    margin-bottom: 2.5rem;
}

/* Secțiunea Despre */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4.5rem;
    align-items: center;
}

.about-visual {
    position: relative;
    border: 1px solid var(--accent-gold);
    padding: 1.2rem;
}

.about-visual img {
    width: 100%;
    display: block;
    height: 480px;
    object-fit: cover;
}

.about-visual::after {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 1px solid var(--border-gold);
    z-index: -1;
}

/* Carduri Servicii - Home */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background-color: var(--white);
    border: 1px solid var(--border-gold);
    padding: 3.5rem 2rem;
    text-align: center;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium);
    border-color: var(--accent-gold);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* Catalogul Detaliat de Servicii */
.catalog-container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.catalog-category {
    background-color: var(--white);
    border: 1px solid var(--border-gold);
    padding: 4rem;
    box-shadow: var(--shadow-premium);
}

.category-header-title {
    font-size: 1.8rem;
    border-bottom: 1px solid var(--accent-gold);
    padding-bottom: 0.8rem;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.service-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-bottom: 1.2rem;
    margin-bottom: 1.2rem;
    border-bottom: 1px dashed rgba(62, 44, 28, 0.15);
}

.service-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.service-meta {
    max-width: 70%;
}

.service-name {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.service-desc {
    font-size: 0.85rem;
    margin-bottom: 0;
}

.service-price {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent-gold);
}

/* Galerie Portofoliu */
.gallery-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

.gallery-btn {
    background: transparent;
    border: none;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 0.6rem 1.2rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-smooth);
    border-bottom: 2px solid transparent;
}

.gallery-btn.active,.gallery-btn:hover {
    color: var(--accent-gold);
    border-bottom-color: var(--accent-gold);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}

.gallery-card {
    position: relative;
    overflow: hidden;
    height: 380px;
    border: 1px solid var(--border-gold);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(62, 44, 28, 0.85);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition-smooth);
    padding: 2rem;
    text-align: center;
}

.gallery-card:hover img {
    transform: scale(1.08);
}

.gallery-card:hover.gallery-hover {
    opacity: 1;
}

.gallery-hover h4 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.gallery-hover p {
    color: var(--bg-cream);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Contact și Locație */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
}

.contact-card-info {
    background-color: var(--white);
    border: 1px solid var(--border-gold);
    padding: 3rem;
    box-shadow: var(--shadow-premium);
}

.info-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.2rem;
}

.info-row:last-child {
    margin-bottom: 0;
}

.info-icon {
    font-size: 1.5rem;
    color: var(--accent-gold);
    width: 30px;
    text-align: center;
}

.info-text h4 {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.4rem;
}

.info-text p,.info-text a {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.info-text a:hover {
    color: var(--accent-gold);
}

.hours-list {
    list-style: none;
    margin-top: 1rem;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(62, 44, 28, 0.08);
    font-size: 0.9rem;
}

.hours-row:last-child {
    border-bottom: none;
}

/* Formulă de Contact Form */
.form-card {
    background-color: var(--white);
    border: 1px solid var(--border-gold);
    padding: 3rem;
    box-shadow: var(--shadow-premium);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.form-input {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-gold);
    background-color: var(--bg-base);
    color: var(--text-dark);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-gold);
    background-color: var(--white);
}

textarea.form-input {
    min-height: 140px;
    resize: vertical;
}

/* Harta Interactivă */
.map-frame {
    height: 480px;
    border: 1px solid var(--border-gold);
    margin-top: 4rem;
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Subsolul Platformei */
.footer {
    background-color: #21160C;
    color: var(--white);
    padding: 6.5rem 0 2rem 0;
    border-top: 2px solid var(--accent-gold);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4.5rem;
    margin-bottom: 5rem;
}

.footer-column h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.footer-column p {
    color: rgba(253, 251, 247, 0.7);
    font-size: 0.9rem;
}

.footer-title {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--bg-cream);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    color: rgba(253, 251, 247, 0.7);
    font-size: 0.9rem;
}

.footer-contact-item i {
    color: var(--bg-cream);
    width: 1.25rem;
    text-align: center;
    flex-shrink: 0;
}

.footer-contact-item a {
    color: inherit;
}

.footer-contact-item a:hover {
    color: inherit;
}

.footer-links a:hover {
    color: var(--bg-cream);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(253, 251, 247, 0.08);
    padding-top: 2.5rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(253, 251, 247, 0.4);
    margin-bottom: 0;
}

/* ==========================================================================
   MEDIA QUERIES - Optimizări pentru Mobile și Tabletă
   ========================================================================== */

@media (max-width: 1024px) {
   .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
   .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
   .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
   .contact-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
   .menu-toggle {
        display: flex;
    }
    
   .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--bg-base);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        transition: var(--transition-smooth);
        z-index: 999;
        border-top: 1px solid var(--border-gold);
        box-shadow: var(--shadow-premium);
    }
    
   .nav-menu.active {
        left: 0;
    }
    
   .menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background-color: var(--accent-gold);
    }
    
   .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
   .menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background-color: var(--accent-gold);
    }
    
   .hero-content h1 {
        font-size: 2.8rem;
    }
    
   .cards-grid {
        grid-template-columns: 1fr;
    }
    
   .gallery-grid {
        grid-template-columns: 1fr;
    }
    
   .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
   .catalog-category {
        padding: 2.5rem 1.5rem;
    }
}