/* style.css - Stiluri generale pentru Hotel SOL Saturn */
/* Versiune optimizată pentru accesibilitate WCAG 2.1 AA */

/* Reset și variabile */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Aurii - paleta principală (păstrată) */
    --gold-primary: #C6A43F;
    --gold-light: #E5C87B;
    --gold-dark: #8B6F2C;


    /* Neutre - optimizate pentru contrast */
    --white: #FBF2ED;              /* CREMUL TĂU - păstrat */
    --off-white: #F5E8D9;           /* Crem puțin mai închis */
    --dark: #1E2B3A;                /* Păstrat */
    --gray-dark: #1A1A1A;           /* Text PRINCIPAL - negru */
    --gray: #4A4A4A;               /* Text SECUNDAR - gri închis */
    --gray-medium: #4A4A4A;          /* Text TERȚIAR */
    --gray-light: #6B6B6B;           /* Doar pentru text pe fundal închis */
    --light: #F5F5F5;                /* Fundal deschis */
    --light-bg: #F8F9FA;              /* Fundal pentru secțiuni */

    /* Accente */
    --accent-1: #4F6F8F;            /* Albastru mai închis pentru contrast */
    --accent-2: #5D3F7A;            /* Violet mai închis pentru contrast */
    --accent-dark: #1A1A1A;          /* Pentru footer */
    --accent-soft: #F5F0E5;          /* Fundal cald secundar */

    /* Umbre */
    --shadow-sm: 0 5px 20px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.15);
    --shadow-gold: 0 4px 15px rgba(198, 164, 63, 0.3);
    --shadow-gold-hover: 0 6px 20px rgba(198, 164, 63, 0.5);

    /* Border radius */
    --border-radius-sm: 10px;
    --border-radius-md: 15px;
    --border-radius-lg: 20px;
    --border-radius-xl: 30px;
    --border-radius-full: 50px;

    /* Tranziții */
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--white);
    color: var(--gray-dark); /* Contrast bun: #1A1A1A pe #FBF2ED = 15:1 */
    line-height: 1.6;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Animații generale */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes lineGrow {
    to {
        transform: scaleX(1);
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 10px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition);
    background: var(--white);
}

.navbar.scrolled {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 5px 50px;
}

.logo {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--gray-dark);
    text-decoration: none;
    transition: var(--transition);
    z-index: 1001;
}

.logo span {
    color: var(--gold-dark); /* Auriu mai închis pentru contrast */
}

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

.nav-links a {
    color: var(--gray-dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold-dark); /* Auriu mai închis pentru hover */
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold-dark);
    animation: lineGrow 0.3s ease forwards;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--gray-dark);
    transition: var(--transition);
}

.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, -7px);
}

/* Butoane generale */
.btn {
    padding: 15px 40px;
    border-radius: var(--border-radius-full);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gold-dark); /* #8B6F2C */
    color: #FFFFFF; /* Alb pur */
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    background: #6B4F1F; /* Maro închis */
    color: #FFFFFF;
}

.btn-outline {
    border: 2px solid var(--gold-dark);
    /*color: var(--gold-dark);*/
    /*background: transparent;*/
    background: rgba(255, 255, 255, .5);
    color: black;
}

.btn-outline:hover {
    background: var(--gold-dark);
    color: var(--white);
    transform: translateY(-3px);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--gold-dark) 0%, #4A3A1A 100%);
    padding: 150px 50px 80px;
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease-out;
}

.page-header p {
    font-size: 1.2em;
    max-width: 700px;
    margin: 0 auto;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

/* Section Title */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title span {
    color: var(--gold-dark);
    font-size: 1.2em;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: block;
}

.section-title h2 {
    font-size: 2.8em;
    color: var(--gray-dark);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gold-dark);
    border-radius: 2px;
}

.section-title p {
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1em;
    line-height: 1.6;
}

/* Grid-uri comune */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
}

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

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

.grid-auto-fit {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Card-uri comune */
.card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.1);
}

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

/* Badge-uri */
.badge {
    display: inline-block;
    padding: 5px 15px;
    border-radius: var(--border-radius-xl);
    font-size: 0.85em;
    font-weight: 600;
}

.badge-primary {
    background: var(--gold-dark);
    color: var(--white);
}

.badge-success {
    background: #2C4A2C;
    color: var(--white);
}

/* Footer */
.footer {
    background: #1A1A1A; /* Negru uniform pentru contrast maxim */
    color: var(--white);
    padding: 60px 50px 20px;
    position: relative;
    border-top: 4px solid var(--gold-dark);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg,
    transparent 0%,
    var(--gold-dark) 20%,
    var(--gold-primary) 50%,
    var(--gold-dark) 80%,
    transparent 100%
    );
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.footer-col h4 {
    font-size: 1.3em;
    margin-bottom: 20px;
    color: var(--gold-light);
    position: relative;
    padding-bottom: 10px;
    letter-spacing: 1px;
}

.footer-col h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gold-primary);
    transition: width 0.3s ease;
}

.footer-col:hover h4:after {
    width: 60px;
}

.footer-col p,
.footer-col a {
    color: #E0E0E0; /* Gri foarte deschis pentru contrast */
    line-height: 1.8;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: var(--transition);
    font-size: 0.95em;
}

.footer-col a {
    position: relative;
    padding-left: 0;
}

.footer-col a:hover {
    color: var(--gold-light);
    transform: translateX(8px);
    text-decoration: underline;
}

/* Iconițe pentru link-uri sociale */
.footer-col a[href*="facebook"]:hover,
.footer-col a[href*="instagram"]:hover {
    color: var(--gold-light);
    transform: translateX(8px) scale(1.05);
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid #404040;
    color: #B0B0B0;
    font-size: 0.9em;
    position: relative;
    z-index: 2;
}

.footer-bottom p {
    margin: 5px 0;
}

.footer-bottom small {
    color: #999;
    font-size: 0.85em;
}

/* Efecte hover */
.footer-col {
    padding: 0 10px;
    transition: transform 0.3s ease;
}

.footer-col:hover {
    transform: translateY(-5px);
}

/* Responsive pentru footer */
@media (max-width: 768px) {
    .footer {
        padding: 40px 20px 20px;
    }

    .footer-grid {
        gap: 30px;
    }

    .footer-col {
        text-align: center;
    }

    .footer-col h4:after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-col:hover h4:after {
        width: 80px;
    }

    .footer-col a:hover {
        transform: translateX(0) scale(1.05);
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 30px 15px 15px;
    }

    .footer-bottom {
        font-size: 0.8em;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Navigation Mobile */
    .navbar {
        padding: 15px 20px;
    }

    .menu-toggle {
        display: flex;
        z-index: 1002;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: 0.3s ease;
        box-shadow: var(--shadow-lg);
        z-index: 1001;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        color: var(--gray-dark);
        font-size: 1.2em;
    }

    /* Headers */
    .page-header h1 {
        font-size: 2.2em;
    }

    .page-header {
        padding: 120px 20px 60px;
    }

    .section-title h2 {
        font-size: 2em;
    }

    /* Grid-uri */
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 12px 25px;
        font-size: 0.9em;
    }

    .section-title h2 {
        font-size: 1.8em;
    }
}

/* Utilitare */
.text-center { text-align: center; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }
.mt-5 { margin-top: 50px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }
.mb-5 { margin-bottom: 50px; }

/* Clase pentru accesibilitate */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Focus visible pentru navigare cu tastatura */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--gold-dark);
    outline-offset: 2px;
}

/* ===== CORECȚII ACCESIBILITATE ===== */
/* Text din carduri - contrast îmbunătățit */

.feature-card p,
.room-card p,
.service-item p,
.faq-item p,
.contact-info p,
.info-card p,
.about-text p,
.welcome-text p {
    color: #2C2C2C !important; /* Gri închis pentru contrast maxim */
    line-height: 1.6;
}

.feature-card h3,
.room-card h3,
.service-item h3,
.faq-item h4 {
    color: #1A1A1A !important; /* Negru pentru titluri */
    font-weight: 600;
}

/* Textul din footer rămâne deschis (fundal închis) */
.footer p,
.footer a {
    color: #E0E0E0 !important; /* Păstrăm deschis pe fundal închis */
}

/* Butoane - asigură contrast */
.btn-primary {
    color: #FFFFFF !important; /* Alb pur */
}

/* Link-uri din meniu */
.nav-links a {
    color: #1A1A1A !important; /* Negru */
}

/*WHATSAPP FOOTER*/
/* ===== WhatsApp Float Button ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366; /* Culoarea oficială WhatsApp */
    color: white;
    border-radius: 50%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 9999;
    text-decoration: none;
    border: 2px solid white;
}

.whatsapp-float:hover {
    background: #128C7E; /* Culoare mai închisă la hover */
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 25px rgba(18, 140, 126, 0.5);
}

.whatsapp-float i {
    font-size: 2rem;
    line-height: 1;
}

/* Animație subtle pentru a atrage atenția */
@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-float {
    animation: pulse-whatsapp 2s infinite;
}

/* Oprește animația la hover */
.whatsapp-float:hover {
    animation: none;
}

/* Responsive pentru mobil */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.8em;
    }

    .whatsapp-float i {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
    }

    .whatsapp-float i {
        font-size: 1.6rem;
    }
}