/* 
 * R&B Customs - Classic & Elegant Hotel Website
 * Palette: Charcoal (#2C3E50), Coral (#E07A5F), Cream (#F4F1EA)
 */

:root {
    --color-charcoal: #2C3E50;
    --color-charcoal-dark: #1a252f;
    --color-coral: #E07A5F;
    --color-coral-dark: #c96a52;
    --color-cream: #F4F1EA;
    --color-white: #ffffff;
    --color-text: #333333;
    --color-text-light: #666666;
    
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Lato', sans-serif;
    
    --spacing-section: 100px;
    --radius: 4px;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background-color: var(--color-cream);
    line-height: 1.6;
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

/* Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

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

.bg-light {
    background-color: #eae6df; /* Slightly darker cream for contrast */
}

.text-center { text-align: center; }
.text-light { color: var(--color-white); }
.text-light-muted { color: rgba(255,255,255,0.8); }

.section-tag {
    display: block;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-coral);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-title {
    margin-bottom: 1.5rem;
    color: var(--color-charcoal);
}

.section-text {
    color: var(--color-text-light);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    max-width: 600px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-sans);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background-color: var(--color-coral-dark);
    border-color: var(--color-coral-dark);
    transform: translateY(-2px);
}

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

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

.full-width {
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    transition: background-color 0.3s ease, padding 0.3s ease;
    padding: 20px 0;
}

.navbar.scrolled {
    background-color: var(--color-charcoal);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-white);
}

.logo-accent {
    color: var(--color-coral);
    font-style: italic;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links a {
    color: var(--color-white);
    font-size: 0.95rem;
    font-weight: 400;
}

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

.nav-links .btn {
    padding: 10px 24px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-white);
    position: relative;
    transition: background-color 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 2px;
    background-color: var(--color-white);
    transition: transform 0.3s ease;
}

.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    background-image: url('https://images.pexels.com/photos/36676784/pexels-photo-36676784.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080');
    background-size: cover;
    background-position: center;
    margin-top: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(44,62,80,0.9) 0%, rgba(44,62,80,0.7) 60%, rgba(44,62,80,0.4) 100%);
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    color: var(--color-white);
    padding-right: 20px;
}

.hero-subtitle {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-coral);
    margin-bottom: 20px;
}

.hero-title {
    color: var(--color-white);
    margin-bottom: 24px;
    font-style: italic;
}

.hero-title em {
    color: var(--color-coral);
    font-style: italic;
}

.hero-description {
    color: rgba(255,255,255,0.9);
    font-size: 1.15rem;
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: var(--radius);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.hero-badge {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background-color: var(--color-white);
    padding: 20px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-badge span {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--color-charcoal);
    font-weight: 700;
}

/* About */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-wrapper img {
    border-radius: var(--radius);
    width: 100%;
    height: 500px;
    object-fit: cover;
    box-shadow: var(--shadow);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.feature-item span {
    font-size: 0.9rem;
    color: var(--color-charcoal);
    font-weight: 700;
}

/* Rooms */
.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.room-card {
    background-color: var(--color-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.room-card:hover {
    transform: translateY(-10px);
}

.room-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.room-info {
    padding: 30px;
}

.room-info h3 {
    color: var(--color-charcoal);
    margin-bottom: 12px;
}

.room-info p {
    color: var(--color-text-light);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.link-arrow {
    color: var(--color-coral);
    font-weight: 700;
    font-size: 0.9rem;
}

.link-arrow:hover {
    color: var(--color-coral-dark);
}

/* Amenities */
.amenities-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.amenities-list {
    list-style: none;
    margin-top: 40px;
}

.amenities-list li {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--color-charcoal);
}

.amenities-image img {
    border-radius: var(--radius);
    width: 100%;
    height: 600px;
    object-fit: cover;
    box-shadow: var(--shadow);
}

/* Contact */
.contact-section {
    background-color: var(--color-charcoal);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-details {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.detail-item strong {
    display: block;
    color: var(--color-white);
    margin-bottom: 5px;
    font-family: var(--font-serif);
    font-size: 1.1rem;
}

.detail-item p {
    color: rgba(255,255,255,0.7);
}

.detail-item a {
    color: var(--color-coral);
}

.detail-item a:hover {
    color: var(--color-coral-dark);
    text-decoration: underline;
}

.contact-form-wrapper {
    background-color: var(--color-white);
    padding: 50px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-title {
    font-family: var(--font-serif);
    color: var(--color-charcoal);
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-charcoal);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #e0e0e0;
    border-radius: var(--radius);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-coral);
}

.form-status {
    margin-top: 20px;
    text-align: center;
    font-weight: 700;
}

.form-status.success {
    color: #27ae60;
}

.form-status.error {
    color: #e74c3c;
}

/* Footer */
.footer {
    background-color: var(--color-charcoal-dark);
    color: var(--color-white);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.footer-brand p {
    color: rgba(255,255,255,0.6);
}

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

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

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* Icons */
.icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* Animations */
.reveal-up, .reveal-left, .reveal-right {
    opacity: 1;
    transform: none;
    transition: all 0.8s ease;
}

.reveal-up { transform: translateY(30px); }
.reveal-left { transform: translateX(-30px); }
.reveal-right { transform: translateX(30px); }

/* Responsive */
@media (max-width: 992px) {
    .hero-container,
    .about-container,
    .amenities-wrapper,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero {
        background-position: 70% center;
    }
    
    .hero-content {
        padding-right: 0;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .hero-badge {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .about-image-wrapper {
        order: -1;
    }
    
    .amenities-image {
        order: -1;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--color-charcoal);
        flex-direction: column;
        justify-content: center;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.2);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .mobile-menu-btn {
        display: block;
        z-index: 1001;
    }
    
    .mobile-menu-btn.active .hamburger {
        background-color: transparent;
    }
    
    .mobile-menu-btn.active .hamburger::before {
        transform: rotate(45deg);
        top: 0;
    }
    
    .mobile-menu-btn.active .hamburger::after {
        transform: rotate(-45deg);
        bottom: 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 30px;
    }
}
