/* ===========================================
   ALPINE CHIC - LUXURY DESIGN SYSTEM
   Casa Ador Sinaia
   =========================================== */

/* ========== CSS VARIABLES ========== */
:root {
    /* Colors - Earthy Tones */
    --color-ivory: #F9F7F2;
    --color-slate: #2C3E50;
    --color-forest: #1a4d2e;
    --color-forest-light: #2d6b4a;
    --color-gold: #C9A961;
    --color-gold-light: #D4B574;
    --color-warm-gray: #8B7355;
    --color-text-dark: #2C2418;
    --color-text-light: #6B5D4F;
    --color-white: #FFFFFF;
    --color-border: #E8E3DC;
    
    /* Typography */
    --font-display: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 50px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(44, 62, 80, 0.08);
    --shadow-md: 0 4px 16px rgba(44, 62, 80, 0.12);
    --shadow-lg: 0 8px 32px rgba(44, 62, 80, 0.16);
    --shadow-xl: 0 12px 48px rgba(44, 62, 80, 0.2);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Z-index */
    --z-fixed: 1000;
    --z-modal: 2000;
}

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

html {
    scroll-behavior: smooth;
    font-size: 62.5%; /* 1rem = 10px */
}

body {
    font-family: var(--font-body);
    font-size: 1.6rem;
    line-height: 1.7;
    color: var(--color-text-dark);
    background-color: var(--color-ivory);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-slate);
    margin-bottom: var(--spacing-sm);
}

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

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* ========== UTILITY CLASSES ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

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

.grid {
    display: grid;
    gap: var(--spacing-lg);
}

.section__header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section__subtitle {
    display: inline-block;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--spacing-sm);
}

.section__title {
    font-size: 4.8rem;
    font-weight: 700;
    color: var(--color-slate);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.section__description {
    font-size: 1.8rem;
    color: var(--color-text-light);
    line-height: 1.8;
}

/* ========== HEADER & NAVIGATION ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(249, 247, 242, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    z-index: var(--z-fixed);
    transition: var(--transition-base);
}

.header.scroll-header {
    box-shadow: var(--shadow-md);
    background: rgba(249, 247, 242, 0.95);
}

.nav {
    height: 7rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo-text {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-slate) 0%, var(--color-forest) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: var(--color-white);
    padding: var(--spacing-xl) var(--spacing-md);
    box-shadow: var(--shadow-xl);
    transition: var(--transition-base);
    z-index: var(--z-modal);
}

.nav__menu.show-menu {
    right: 0;
}

.nav__list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.nav__link {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--color-slate);
    padding: var(--spacing-sm) 0;
    position: relative;
    transition: var(--transition-base);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: var(--transition-base);
}

.nav__link:hover,
.nav__link.active-link {
    color: var(--color-forest);
}

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

.nav__close,
.nav__toggle {
    font-size: 2.4rem;
    color: var(--color-slate);
    cursor: pointer;
    transition: var(--transition-base);
}

.nav__close:hover,
.nav__toggle:hover {
    color: var(--color-forest);
}

.nav__close {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
}

/* ========== HERO SECTION ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.7) 0%, rgba(26, 77, 46, 0.8) 100%),
                url('../poze/primapoza.JPG') center/cover no-repeat;
    padding: 0;
    overflow: hidden;
}

.hero__container {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--color-white);
    padding: var(--spacing-xl) var(--spacing-md);
}

.hero__content {
    max-width: 800px;
    margin: 0 auto;
}

.hero__title {
    font-size: 6.4rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.hero__subtitle {
    display: block;
    font-size: 3.2rem;
    font-weight: 400;
    margin-top: var(--spacing-sm);
    color: var(--color-gold-light);
}

/* ========== ROOM PAGES: TITLE COLOR OVERRIDES ========== */
.page-room .hero__title {
    background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-room .section__title {
    color: var(--color-forest);
}

/* ========== HOME PAGE: HERO TITLE OVERRIDE ========== */
.page-home .hero__title {
    background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== LIVING & CURTE PAGE: HERO TITLE OVERRIDE ========== */
.page-living-curte .hero__title {
    background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__description {
    font-size: 2rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
    color: rgba(255, 255, 255, 0.95);
    font-weight: 300;
}

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

.hero__scroll {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero__scroll-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--color-white);
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    transition: var(--transition-base);
}

.hero__scroll-link:hover {
    opacity: 1;
    transform: translateY(5px);
}

.hero__scroll-link i {
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-block;
    padding: 1.6rem 3.2rem;
    font-size: 1.6rem;
    font-weight: 600;
    text-align: center;
    border-radius: var(--radius-full);
    transition: var(--transition-base);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-body);
}

.btn--primary {
    background: linear-gradient(135deg, var(--color-forest) 0%, var(--color-forest-light) 100%);
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--color-forest-light) 0%, var(--color-forest) 100%);
}

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

.btn--secondary:hover {
    background: var(--color-white);
    color: var(--color-slate);
}

/* Button variants for detail pages */
.btn--secondary.dark {
    background: transparent;
    color: var(--color-slate);
    border: 2px solid var(--color-slate);
    box-shadow: none;
}

.btn--secondary.dark:hover {
    background: var(--color-slate);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn--full {
    width: 100%;
}

/* ========== ABOUT SECTION ========== */
.about {
    background: var(--color-white);
}

.about__content {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--spacing-xl);
}

.about__info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.about__info-item {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
}

.about__info-item i {
    font-size: 3.2rem;
    color: var(--color-gold);
    min-width: 4rem;
    padding-top: var(--spacing-xs);
}

.about__info-item h3 {
    font-size: 2.4rem;
    margin-bottom: var(--spacing-xs);
    color: var(--color-slate);
}

.about__info-item p {
    font-size: 1.6rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

.about__image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about__img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    transition: var(--transition-slow);
}

.about__image:hover .about__img {
    transform: scale(1.05);
}

/* ========== ROOMS SECTION ========== */
.rooms {
    background: var(--color-ivory);
}

.rooms__container {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
}

.room__card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

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

.room__image {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.room__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.room__card:hover .room__image img {
    transform: scale(1.1);
}

.room__badge {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: var(--color-white);
    color: var(--color-slate);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-full);
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow-md);
}

.room__badge--premium {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
    color: var(--color-white);
}

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

.room__title {
    font-size: 2.8rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-slate);
}

.room__description {
    font-size: 1.6rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.room__features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--color-border);
}

.room__features li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1.5rem;
    color: var(--color-text-light);
}

.room__features i {
    color: var(--color-gold);
    font-size: 1.6rem;
}

/* ========== GALLERY SECTION ========== */
.gallery {
    background: var(--color-white);
}

.gallery__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    grid-auto-rows: 300px;
    gap: var(--spacing-md);
}

.gallery__item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

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

.gallery__item--large {
    grid-column: span 2;
}

.gallery__item--tall {
    grid-row: span 2;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery__item:hover img {
    transform: scale(1.1);
}

.gallery__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(44, 62, 80, 0.9) 0%, transparent 100%);
    padding: var(--spacing-lg);
    transform: translateY(100%);
    transition: var(--transition-base);
}

.gallery__item:hover .gallery__overlay {
    transform: translateY(0);
}

.gallery__overlay h3 {
    color: var(--color-white);
    font-size: 2.4rem;
    margin: 0;
}

/* ========== BOOKING SECTION ========== */
.booking {
    background: linear-gradient(135deg, var(--color-slate) 0%, var(--color-forest) 100%);
    color: var(--color-white);
}

.booking__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: start;
}

.booking__content .section__title,
.booking__content .section__subtitle,
.booking__content .section__description {
    color: var(--color-white);
    text-align: left;
}

.booking__content .section__subtitle {
    color: var(--color-gold-light);
}

.booking__info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.booking__info-item {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
}

.booking__info-item i {
    font-size: 2.4rem;
    color: var(--color-gold);
    min-width: 3rem;
    padding-top: var(--spacing-xs);
}

.booking__info-item h4 {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-xs);
    color: var(--color-white);
}

.booking__info-item a,
.booking__info-item p {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.8);
}

.booking__info-item a:hover {
    color: var(--color-gold-light);
}

.booking__form {
    background: var(--color-white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.form__group {
    margin-bottom: var(--spacing-md);
}

.form__label {
    display: block;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-slate);
    margin-bottom: var(--spacing-xs);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form__input,
.form__textarea {
    width: 100%;
    padding: 1.4rem;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 1.6rem;
    color: var(--color-text-dark);
    background: var(--color-ivory);
    transition: var(--transition-base);
    font-family: var(--font-body);
}

.form__input:focus,
.form__textarea:focus {
    outline: none;
    border-color: var(--color-forest);
    background: var(--color-white);
    box-shadow: 0 0 0 3px rgba(26, 77, 46, 0.1);
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--color-slate);
    color: var(--color-white);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer__container {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer__logo-text {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    margin-bottom: var(--spacing-md);
}

.footer__description {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.footer__social {
    display: flex;
    gap: var(--spacing-md);
}

.footer__social-link {
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--color-white);
    font-size: 1.8rem;
    transition: var(--transition-base);
}

.footer__social-link:hover {
    background: var(--color-gold);
    transform: translateY(-3px);
}

.footer__title {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
    color: var(--color-white);
}

.footer__links,
.footer__contact {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer__link,
.footer__contact a {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-base);
}

.footer__link:hover,
.footer__contact a:hover {
    color: var(--color-gold-light);
    padding-left: var(--spacing-xs);
}

.footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer__contact i {
    color: var(--color-gold);
    min-width: 2rem;
    padding-top: 0.3rem;
}

.footer__copy {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ========== SCROLL TOP ========== */
.scrolltop {
    position: fixed;
    bottom: var(--spacing-lg);
    right: var(--spacing-lg);
    width: 5rem;
    height: 5rem;
    background: var(--color-forest);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    z-index: var(--z-fixed);
}

.scrolltop.show-scroll {
    opacity: 1;
    visibility: visible;
}

.scrolltop:hover {
    background: var(--color-forest-light);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* ========== RESPONSIVE DESIGN ========== */
@media screen and (max-width: 1024px) {
    .section__title {
        font-size: 4rem;
    }
    
    .hero__title {
        font-size: 5.2rem;
    }
    
    .hero__subtitle {
        font-size: 2.8rem;
    }
    
    .about__content {
        grid-template-columns: 1fr;
    }
    
    .booking__container {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    html {
        font-size: 56.25%; /* 1rem = 9px */
    }
    
    .section {
        padding: var(--spacing-lg) 0;
    }
    
    .section__title {
        font-size: 3.6rem;
    }
    
    .hero__title {
        font-size: 4rem;
    }
    
    .hero__subtitle {
        font-size: 2.2rem;
    }
    
    .hero__description {
        font-size: 1.7rem;
    }
    
    .hero__buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .gallery__container {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }
    
    .gallery__item--large,
    .gallery__item--tall {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .rooms__container {
        grid-template-columns: 1fr;
    }
    
    .nav__menu {
        width: 100%;
        max-width: 100%;
    }
}

@media screen and (max-width: 480px) {
    html {
        font-size: 50%; /* 1rem = 8px */
    }
    
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .section__title {
        font-size: 3rem;
    }
    
    .hero__title {
        font-size: 3.2rem;
    }
    
    .hero__subtitle {
        font-size: 1.8rem;
    }
    
    .booking__form {
        padding: var(--spacing-md);
    }
}

