/* 
 * Casa Rosada - La Habana
 * Style: Classic Elegant, Refined Serif, Muted Sophisticated
 * Palette: Teal (#0f4c5c) + Slate Grey (#334155) + Pink Accent (#e6b8b8)
 */

:root {
    --primary-teal: #0f4c5c;
    --secondary-teal: #1a6577;
    --slate-grey: #334155;
    --light-slate: #64748b;
    --bg-cream: #f8f7f4;
    --bg-white: #ffffff;
    --text-dark: #1e293b;
    --text-light: #94a3b8;
    --accent-pink: #d4a5a5; /* Muted dusty pink for "Rosada" reference */
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Lato', sans-serif;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-cream);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .logo {
    font-family: var(--font-serif);
    font-weight: 600;
}

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

ul {
    list-style: none;
}

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

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

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--primary-teal);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 2px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.85rem;
    border: 1px solid var(--primary-teal);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-teal);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 2px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.85rem;
    border: 1px solid white;
    margin-left: 1rem;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    padding: 1.5rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

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

.logo {
    font-size: 1.8rem;
    color: white;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.navbar.scrolled .logo {
    color: var(--primary-teal);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
    font-weight: 400;
}

.navbar.scrolled .nav-links a {
    color: var(--slate-grey);
}

.nav-links a:hover {
    color: var(--accent-pink);
}

.nav-links .btn-primary {
    background-color: var(--accent-pink);
    border-color: var(--accent-pink);
    color: white;
}

.nav-links .btn-primary:hover {
    background-color: transparent;
    color: var(--accent-pink);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background: white;
    transition: var(--transition);
}

.navbar.scrolled .mobile-menu-btn span {
    background: var(--primary-teal);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* Gradient Overlay */
    background: linear-gradient(135deg, rgba(15, 76, 92, 0.85), rgba(51, 65, 85, 0.75)), 
                url('https://images.pexels.com/photos/36488764/pexels-photo-36488764.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-content {
    max-width: 800px;
    padding: 0 1.5rem;
    color: white;
}

.tagline {
    display: block;
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.hero-sub {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    opacity: 0.9;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: white;
    opacity: 0.7;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-indicator .line {
    width: 1px;
    height: 40px;
    background: white;
}

/* Sections General */
.section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-teal);
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--light-slate);
    font-size: 1.1rem;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 4px;
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.about-pattern {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-pink);
    z-index: 1;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--primary-teal);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--slate-grey);
}

.features-list {
    margin-top: 2rem;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
    color: var(--text-dark);
}

.features-list svg {
    color: var(--accent-pink);
}

/* Rooms Section */
.rooms {
    background-color: white;
}

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

.room-card {
    background: var(--bg-cream);
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition);
}

.room-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.room-img-wrapper {
    height: 250px;
    overflow: hidden;
}

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

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

.room-info {
    padding: 1.5rem;
}

.room-info h3 {
    font-size: 1.5rem;
    color: var(--primary-teal);
    margin-bottom: 0.5rem;
}

.room-info p {
    color: var(--light-slate);
    font-size: 0.95rem;
}

/* Location Section */
.location {
    background-color: var(--bg-cream);
}

.location-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.location-text h2 {
    font-size: 2.5rem;
    color: var(--primary-teal);
    margin-bottom: 1.5rem;
}

.location-text p {
    color: var(--slate-grey);
    margin-bottom: 2rem;
}

.map-placeholder {
    height: 350px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

.address-block {
    background: white;
    padding: 1.5rem;
    border-radius: 4px;
    border-left: 4px solid var(--accent-pink);
}

.address-block p {
    margin: 0;
    color: var(--text-dark);
    line-height: 1.8;
}

/* Contact Section */
.contact {
    background: linear-gradient(to right, var(--primary-teal), var(--secondary-teal));
    color: white;
}

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

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.contact-info > p {
    opacity: 0.9;
    margin-bottom: 2rem;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.contact-item a:hover {
    color: var(--accent-pink);
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    color: var(--text-dark);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--slate-grey);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 3px rgba(15, 76, 92, 0.1);
}

.full-width {
    width: 100%;
    cursor: pointer;
}

/* Footer */
.footer {
    background-color: var(--slate-grey);
    color: white;
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.footer-brand p {
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-pink);
}

.footer-copy {
    font-size: 0.8rem;
    opacity: 0.5;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s forwards;
    animation-delay: 0.3s;
}

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

/* Responsive */
@media (max-width: 968px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .about-grid,
    .location-container,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-image-wrapper {
        order: -1;
    }
    
    .about-img {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        background: white;
        flex-direction: column;
        justify-content: center;
        padding: 2rem;
        transition: var(--transition);
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        color: var(--text-dark);
        font-size: 1.2rem;
    }
    
    .mobile-menu-btn {
        display: flex;
        z-index: 1001;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .btn-secondary {
        margin-left: 0;
        margin-top: 1rem;
        display: inline-block;
    }
    
    .section {
        padding: 4rem 0;
    }
}
