/* ===================================
   The Majestic Rose Rooms & Suites
   Stylesheet
=================================== */

/* --- CSS Custom Properties --- */
:root {
    --emerald-50: #ecfdf5;
    --emerald-100: #d1fae5;
    --emerald-200: #a7f3d0;
    --emerald-300: #6ee7b7;
    --emerald-400: #34d399;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-700: #047857;
    --emerald-800: #065f46;
    --emerald-900: #064e3b;
    --emerald-950: #022c22;

    --cream-50: #fefdf8;
    --cream-100: #fefbe8;
    --cream-200: #fef7cc;
    --cream-300: #fef3a0;
    --cream-400: #fee560;
    --cream-500: #fcd34d;
    --cream-600: #d97706;
    --cream-700: #b45309;
    --cream-800: #92400e;
    --cream-900: #78350f;

    --neutral-50: #fafafa;
    --neutral-100: #f5f5f5;
    --neutral-200: #e5e5e5;
    --neutral-300: #d4d4d4;
    --neutral-400: #a3a3a3;
    --neutral-500: #737373;
    --neutral-600: #525252;
    --neutral-700: #404040;
    --neutral-800: #262626;
    --neutral-900: #171717;
    --neutral-950: #0a0a0a;

    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Lato', 'Segoe UI', sans-serif;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;

    --transition: all 0.3s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-body);
    color: var(--neutral-800);
    background-color: var(--cream-50);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--neutral-900);
}

.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--emerald-600);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    margin-bottom: 1rem;
    color: var(--neutral-900);
}

.section-text {
    font-size: 1.05rem;
    color: var(--neutral-600);
    line-height: 1.7;
    max-width: 640px;
}

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

.text-center .section-text {
    margin-left: auto;
    margin-right: auto;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 700;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--emerald-700);
    color: #fff;
    border-color: var(--emerald-700);
}

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

.btn-outline-light {
    background-color: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-light:hover {
    background-color: #fff;
    color: var(--neutral-900);
    border-color: #fff;
}

.btn-outline-emerald {
    background-color: transparent;
    color: var(--emerald-700);
    border-color: var(--emerald-700);
}

.btn-outline-emerald:hover {
    background-color: var(--emerald-700);
    color: #fff;
}

.btn-sm {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(254, 253, 248, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--neutral-200);
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--neutral-900);
}

.logo-icon {
    display: flex;
    align-items: center;
    color: var(--emerald-600);
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.main-nav a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--neutral-700);
    padding: 0.5rem 0.875rem;
    border-radius: var(--radius-sm);
}

.main-nav a:hover {
    color: var(--emerald-700);
    background-color: var(--emerald-50);
}

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

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--neutral-700);
    border-radius: 2px;
    transition: var(--transition);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--neutral-900);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 10, 0.4) 0%,
        rgba(10, 10, 10, 0.6) 50%,
        rgba(10, 10, 10, 0.8) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 8rem 1.5rem 6rem;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--emerald-300);
    margin-bottom: 1.25rem;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: float 2s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* --- Intro Section --- */
.intro {
    padding: 6rem 0;
    background-color: var(--cream-50);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.intro-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
}

.intro-content .section-text {
    margin-bottom: 1.5rem;
}

.intro-features {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--neutral-700);
}

.feature-item svg {
    color: var(--emerald-600);
    flex-shrink: 0;
}

/* --- Rooms Section --- */
.rooms {
    padding: 6rem 0;
    background-color: var(--neutral-50);
}

.section-header {
    margin-bottom: 3.5rem;
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.room-card {
    background-color: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.room-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.room-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.room-card:hover .room-image img {
    transform: scale(1.05);
}

.room-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--emerald-700);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-sm);
}

.room-content {
    padding: 1.75rem;
}

.room-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--neutral-900);
}

.room-description {
    font-size: 0.9375rem;
    color: var(--neutral-600);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.room-features {
    margin-bottom: 1.5rem;
}

.room-features li {
    position: relative;
    padding-left: 1.25rem;
    font-size: 0.875rem;
    color: var(--neutral-600);
    line-height: 1.7;
}

.room-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    background-color: var(--emerald-400);
    border-radius: 50%;
}

.room-content .btn {
    width: 100%;
}

/* --- Amenities Section --- */
.amenities {
    padding: 6rem 0;
    background-color: var(--cream-50);
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.amenity-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--neutral-200);
    transition: var(--transition);
}

.amenity-card:hover {
    border-color: var(--emerald-300);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.amenity-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--emerald-50);
    color: var(--emerald-700);
    border-radius: var(--radius-md);
    margin-bottom: 1.25rem;
}

.amenity-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--neutral-900);
}

.amenity-card p {
    font-size: 0.9375rem;
    color: var(--neutral-600);
    line-height: 1.65;
}

/* --- Location Section --- */
.location {
    padding: 6rem 0;
    background-color: var(--neutral-900);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;
}

.location-content .section-label {
    color: var(--emerald-400);
}

.location-content .section-title {
    color: #fff;
}

.location-content .section-text {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.location-detail {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.location-detail svg {
    color: var(--emerald-400);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.location-detail strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.location-detail p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.location-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 400px;
    box-shadow: var(--shadow-xl);
}

/* --- CTA Section --- */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--emerald-800) 0%, var(--emerald-950) 100%);
    text-align: center;
}

.cta-content {
    max-width: 640px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: #fff;
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

/* --- Contact Section --- */
.contact {
    padding: 6rem 0;
    background-color: var(--cream-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info .section-text {
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--emerald-50);
    color: var(--emerald-700);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: 0.25rem;
}

.contact-item p {
    font-size: 0.9375rem;
    color: var(--neutral-600);
}

.contact-item a {
    color: var(--emerald-700);
}

.contact-item a:hover {
    color: var(--emerald-500);
    text-decoration: underline;
}

.contact-form-wrapper {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--neutral-200);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--neutral-700);
}

.form-group input,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--neutral-300);
    border-radius: var(--radius-md);
    background-color: var(--neutral-50);
    color: var(--neutral-800);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--emerald-500);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--neutral-400);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    display: none;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background-color: var(--emerald-50);
    border: 1px solid var(--emerald-200);
    border-radius: var(--radius-md);
    color: var(--emerald-800);
    font-size: 0.9375rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

.form-success svg {
    color: var(--emerald-600);
    flex-shrink: 0;
}

.form-success.show {
    display: flex;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--neutral-950);
    padding: 4rem 0 0;
    color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
    color: #fff;
    margin-bottom: 1rem;
}

.footer-tagline {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.6);
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.footer-links a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-links a:hover {
    color: var(--emerald-400);
}

.footer-contact p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact a {
    color: var(--emerald-400);
}

.footer-contact a:hover {
    color: var(--emerald-300);
    text-decoration: underline;
}

.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
}

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

    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background-color: rgba(254, 253, 248, 0.98);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid var(--neutral-200);
        padding: 1rem 1.5rem;
        transform: translateY(-120%);
        opacity: 0;
        transition: var(--transition);
        pointer-events: none;
    }

    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0.25rem;
        width: 100%;
    }

    .main-nav a {
        display: block;
        padding: 0.75rem 1rem;
        width: 100%;
    }

    .main-nav .btn {
        width: 100%;
        text-align: center;
        margin-top: 0.5rem;
    }

    .intro-grid,
    .location-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .intro-image {
        order: -1;
    }

    .rooms-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .amenities-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .hero-content {
        padding: 7rem 1.5rem 5rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .cta-actions .btn {
        width: 100%;
        max-width: 280px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .location-map {
        min-height: 300px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .section-title {
        font-size: 1.625rem;
    }

    .room-content {
        padding: 1.25rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .room-image img {
        transition: none;
    }

    .room-card:hover .room-image img {
        transform: none;
    }
}
