/* ===============================================
   POMEGRANATE BED & BREAKFAST - MAIN STYLES
   =============================================== */

/* CSS Variables - Pomegranate-Inspired Color Palette */
:root {
    /* Primary Colors - Deep Reds & Warm Oranges */
    --primary-red: #8B1538;           /* Deep pomegranate red */
    --primary-orange: #D2691E;        /* Warm orange */
    --accent-red: #A0192D;            /* Slightly lighter red */
    --light-coral: #F08080;           /* Light coral for highlights */
    
    /* Secondary Colors */
    --cream: #FFF8DC;                 /* Warm cream background */
    --warm-white: #FEFBF5;           /* Slightly warm white */
    --gold: #DAA520;                  /* Gold accents */
    --dark-brown: #3C2414;           /* Dark brown for text */
    
    /* Neutral Colors */
    --gray-100: #F7F7F7;
    --gray-200: #E5E5E5;
    --gray-300: #D4D4D4;
    --gray-600: #6B7280;
    --gray-800: #374151;
    --gray-900: #111827;
    
    /* Fonts */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: 5rem 0;
    --container-max-width: 1200px;
    --border-radius: 12px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(139, 21, 56, 0.1);
    --shadow-md: 0 4px 12px rgba(139, 21, 56, 0.15);
    --shadow-lg: 0 10px 25px rgba(139, 21, 56, 0.2);
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ===============================================
   RESET & BASE STYLES
   =============================================== */

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

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

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--dark-brown);
    background-color: var(--warm-white);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-red);
    margin-bottom: 1rem;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-red), var(--primary-orange));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    font-weight: 400;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: inherit;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-red), var(--accent-red));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background: var(--primary-red);
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-orange);
    border: 2px solid var(--primary-orange);
    padding: 10px 25px;
}

.btn-outline:hover {
    background: var(--primary-orange);
    color: white;
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.125rem;
}

/* ===============================================
   NAVIGATION
   =============================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 248, 220, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition-smooth);
    border-bottom: 1px solid rgba(139, 21, 56, 0.1);
}

.navbar.scrolled {
    background: rgba(255, 248, 220, 0.98);
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-red);
}

.nav-logo-img {
    width: 32px;
    height: 32px;
    margin-right: 0.75rem;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--dark-brown);
    font-weight: 500;
    transition: var(--transition-smooth);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-red);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-orange);
    transition: var(--transition-smooth);
}

.nav-link:hover::after {
    width: 100%;
}

.booking-btn {
    background: var(--primary-red);
    color: white !important;
    padding: 8px 20px;
    border-radius: var(--border-radius);
}

.booking-btn:hover {
    background: var(--accent-red);
    transform: translateY(-2px);
}

.booking-btn::after {
    display: none;
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-red);
    transition: var(--transition-smooth);
    border-radius: 2px;
}

/* ===============================================
   HERO SECTION
   =============================================== */

.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-orange) 50%, var(--accent-red) 100%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(60, 36, 20, 0.3);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeInUp 1s ease-out 0.5s forwards;
}

.hero-subtitle {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeInUp 1s ease-out 0.7s forwards;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeInUp 1s ease-out 0.9s forwards;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeInUp 1s ease-out 1.1s forwards;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    opacity: 0;
    animation: heroFadeInUp 1s ease-out 1.5s forwards, bounce 2s infinite 2s;
}

.hero-scroll-indicator span {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

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

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

/* ===============================================
   ABOUT SECTION
   =============================================== */

.about {
    padding: var(--section-padding);
    background: var(--cream);
}

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

.about-text h3 {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--gray-800);
}

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

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-item i {
    color: var(--primary-orange);
    font-size: 1.25rem;
}

.feature-item span {
    font-weight: 500;
    color: var(--dark-brown);
}

.about-image {
    position: relative;
}

.image-placeholder {
    background: linear-gradient(135deg, var(--gray-200), var(--gray-300));
    border-radius: var(--border-radius);
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    border: 2px dashed var(--gray-400);
}

.image-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.image-placeholder span {
    font-weight: 500;
}

.about-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
}

.about-img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

/* ===============================================
   ROOMS SECTION
   =============================================== */

.rooms {
    padding: var(--section-padding);
    background: var(--warm-white);
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(350px, 1fr));
    gap: 2rem;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

.room-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
}

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

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

.room-image .image-placeholder {
    height: 100%;
    margin: 0;
    border-radius: 0;
    border: none;
}

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

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

.room-content {
    padding: 2rem;
}

.room-content h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.room-description {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.room-features {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.room-features span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--gray-600);
}

.room-features i {
    color: var(--primary-orange);
}

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

.price {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-red);
}

.per-night {
    color: var(--gray-600);
    margin-left: 0.5rem;
}

/* ===============================================
   AMENITIES SECTION
   =============================================== */

.amenities {
    padding: var(--section-padding);
    background: var(--cream);
}

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

.amenity-item {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.amenity-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.amenity-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.amenity-icon i {
    font-size: 2rem;
    color: white;
}

.amenity-item h4 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.amenity-item p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* ===============================================
   GALLERY SECTION
   =============================================== */

.gallery {
    padding: var(--section-padding);
    background: var(--warm-white);
}

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

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item .image-placeholder {
    height: 250px;
    margin: 0;
    border-radius: 0;
    border: none;
}

.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition-smooth);
}

/* ===============================================
   LOCATION SECTION
   =============================================== */

.location {
    padding: var(--section-padding);
    background: var(--cream);
}

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

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: white;
    font-size: 1.25rem;
}

.contact-details h4 {
    font-family: var(--font-serif);
    color: var(--primary-red);
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--gray-600);
    line-height: 1.6;
}

.map-container {
    position: relative;
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-embed {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--cream), var(--gray-100));
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius);
}

.map-embed:hover {
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
    transform: scale(1.02);
}

.map-preview {
    text-align: center;
    padding: 2rem;
}

.map-preview i {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.map-preview h4 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.map-preview p {
    color: var(--gray-600);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.map-click-hint {
    display: inline-block;
    background: var(--primary-orange);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.map-placeholder {
    height: 400px;
    border-radius: var(--border-radius);
}

.map-placeholder p {
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* ===============================================
   BOOKING SECTION
   =============================================== */

.booking {
    padding: var(--section-padding);
    background: var(--warm-white);
}

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

.booking-form {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark-brown);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(210, 105, 30, 0.1);
}

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

.booking-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.booking-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.booking-card h4 {
    font-family: var(--font-serif);
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.booking-card ul {
    list-style: none;
}

.booking-card li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--gray-600);
}

.booking-card li i {
    color: var(--primary-orange);
}

.contact-methods {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--cream);
    border-radius: var(--border-radius);
    color: var(--primary-red);
    font-weight: 500;
    transition: var(--transition-smooth);
}

.contact-method:hover {
    background: var(--primary-red);
    color: white;
}

/* ===============================================
   FOOTER
   =============================================== */

.footer {
    background: var(--dark-brown);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--light-coral);
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: 24px;
    height: 24px;
    margin-right: 0.5rem;
    object-fit: contain;
}

.footer-section p {
    color: var(--gray-300);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-section h4 {
    font-family: var(--font-serif);
    color: var(--light-coral);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--gray-300);
    transition: var(--transition-smooth);
}

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

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition-smooth);
}

.social-link:hover {
    background: var(--primary-orange);
    transform: translateY(-2px);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: var(--gray-300);
}

.footer-contact i {
    color: var(--primary-orange);
    width: 20px;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: 2px solid var(--gray-600);
    border-radius: var(--border-radius);
    background: transparent;
    color: white;
    font-family: inherit;
}

.newsletter-form input::placeholder {
    color: var(--gray-400);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-orange);
}

.newsletter-form button {
    padding: 12px 15px;
    background: var(--primary-orange);
    border: none;
    border-radius: var(--border-radius);
    color: white;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.newsletter-form button:hover {
    background: var(--accent-red);
}

.footer-bottom {
    border-top: 1px solid var(--gray-600);
    padding-top: 1rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--gray-400);
    margin: 0;
}

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

.footer-bottom-links a {
    color: var(--gray-400);
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.footer-bottom-links a:hover {
    color: var(--primary-orange);
}

/* ===============================================
   UTILITY CLASSES
   =============================================== */

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

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}