/* 
 * Shahran Hotel - Luxury Styling
 * Theme: Gold, Cream, Charcoal
 */

:root {
  --primary-gold: #d4af37;
  --primary-gold-dark: #b4941f;
  --text-dark: #333333;
  --text-light: #f5f5f5;
  --bg-white: #ffffff;
  --bg-cream: #fafaf5;
  --font-serif: "Playfair Display", serif;
  --font-sans: "Lato", sans-serif;
  --transition: all 0.3s ease;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--bg-cream);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  color: var(--text-dark);
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  display: block;
}

/* Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background: var(--primary-gold);
  color: var(--bg-white);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  border: 2px solid var(--primary-gold);
  cursor: pointer;
  transition: var(--transition);
}

.btn:hover {
  background: transparent;
  color: var(--primary-gold);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--bg-white);
  color: var(--bg-white);
}

.btn-secondary:hover {
  background: var(--bg-white);
  color: var(--text-dark);
}

.section-padding {
  padding: 100px 0;
}

.text-center {
  text-align: center;
}

.gold-text {
  color: var(--primary-gold);
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 1000;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  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 img {
  height: 50px;
  transition: var(--transition);
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  color: var(--bg-white);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.navbar.scrolled .nav-links a {
  color: var(--text-dark);
}

.nav-links a:hover {
  color: var(--primary-gold);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--bg-white);
  overflow: hidden;
}

.video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  color: var(--bg-white);
  opacity: 0;
  animation: fadeInUp 1s forwards 0.5s;
}

.hero-content p {
  font-size: 1.5rem;
  margin-bottom: 40px;
  font-weight: 300;
  opacity: 0;
  animation: fadeInUp 1s forwards 0.8s;
}

.hero-buttons {
  opacity: 0;
  animation: fadeInUp 1s forwards 1.1s;
}

.hero-buttons .btn {
  margin: 0 10px;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
  from {
    opacity: 0;
    transform: translateY(30px);
  }
}

/* Video Promotion */
.video-promo {
  position: relative;
  background: #000;
  color: white;
}

.promo-video-container video {
  width: 100%;
  height: 60vh;
  object-fit: cover;
  opacity: 0.7;
}

.promo-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  text-align: center;
}

.promo-text h2 {
  font-size: 2.5rem;
  color: var(--bg-white);
  font-style: italic;
  font-family: var(--font-serif);
}

/* Image Promotion */
.image-promo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.promo-img {
  height: 600px;
  object-fit: cover;
  width: 100%;
}

.promo-content {
  padding: 50px;
  background: var(--bg-white);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.promo-content blockquote {
  font-size: 2rem;
  font-family: var(--font-serif);
  color: var(--primary-gold-dark);
  margin-bottom: 20px;
}

/* About */
.about {
  background: var(--bg-white);
}

.about-text {
  max-width: 800px;
  margin: 0 auto;
}

.about-text p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

/* Rooms */
.rooms {
  background: var(--bg-cream);
}

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.room-card {
  background: var(--bg-white);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  overflow: hidden;
}

.room-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.room-img {
  height: 300px;
  overflow: hidden;
}

.room-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.room-card:hover .room-img img {
  transform: scale(1.1);
}

.room-info {
  padding: 30px;
  text-align: center;
}

.room-info h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.room-desc {
  color: #666;
  margin-bottom: 20px;
  font-style: italic;
}

/* Dining */
.dining {
  background: url("../images/dining.jpg") no-repeat center center/cover;
  position: relative;
  color: var(--bg-white);
  padding: 150px 0;
  text-align: center;
}

.dining::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.dining-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.dining h2 {
  color: var(--primary-gold);
  font-size: 3rem;
  margin-bottom: 30px;
}

.dining p {
  font-size: 1.3rem;
}

/* Facilities */
.facilities {
  background: var(--bg-white);
}

.facility-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 50px;
}

.facility-img {
  flex: 1 1 500px;
}

.facility-img img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.facility-list {
  flex: 1 1 500px;
  padding: 50px;
  background: var(--bg-cream);
  height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.facility-list ul {
  list-style: none;
}

.facility-list li {
  font-size: 1.2rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.facility-list li::before {
  content: "✦";
  color: var(--primary-gold);
  margin-right: 15px;
  font-size: 1.5rem;
}

/* Contact */
.contact {
    background: var(--text-dark);
    color: var(--bg-white);
    position: relative;
    z-index: 1; /* Ensure content is above background */
}

.contact-info h2 {
    margin-bottom: 30px;
    font-size: 2rem;
    color: var(--primary-gold);
}

.contact-details-box {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-top: 4px solid var(--primary-gold);
    color: #333; /* Reset text color for white box */
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-gold);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-text h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #333;
}

.contact-text p {
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

.reservation-highlight {
    background: #fdf8e4;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.reservation-highlight h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-gold-dark);
    margin-bottom: 15px;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    background: #25D366;
    color: #fff;
    padding: 12px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.3s, box-shadow 0.3s;
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    color: #fff;
}

.review-links a {
    display: inline-block;
    margin-right: 15px;
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
    background: #fff;
    color: var(--primary-gold);
}

.review-links a:hover {
    border-color: var(--primary-gold);
    background: var(--primary-gold);
    color: #fff !important;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
    align-items: start;
}

.contact-form {
    background: #222; /* Dark card for form */
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--primary-gold);
    text-align: center;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    background: #333; /* Slightly lighter input background */
    border: 1px solid #444;
    color: #fff;
    font-family: var(--font-sans);
    border-radius: 4px;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-gold);
    outline: none;
}

.contact-form textarea {
    height: 150px;
}

.contact-form button {
  width: 100%;
}

.map-full-width {
    margin-top: 50px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Footer */
footer {
    background: var(--text-dark);
    color: var(--text-light);
    padding: 60px 0 20px;
    text-align: center;
}

.footer-logo img {
    height: 80px; /* Adjust based on actual logo */
    margin-bottom: 20px;
    filter: brightness(0) invert(1); /* Make logo white if it's dark */
}

.footer-links {
    margin-bottom: 30px;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    margin: 0 15px;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-gold);
}

.social-icons a {
    color: var(--primary-gold);
    margin: 0 15px;
    display: inline-block;
    transition: transform 0.3s, color 0.3s;
}

.social-icons a:hover {
    color: #fff;
    transform: translateY(-3px);
}

.copyright {
    margin-top: 30px;
    font-size: 0.8rem;
    color: #777;
    border-top: 1px solid #444;
    padding-top: 20px;
}

/* Scroll to Top */
#scrollTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--primary-gold);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 999;
}

#scrollTop.visible {
  opacity: 1;
  pointer-events: all;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none; /* Simplification for mobile, would typically add hamburger */
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .image-promo {
    grid-template-columns: 1fr;
  }

  .promo-img {
    height: 400px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .facility-grid {
    flex-direction: column;
  }

  .facility-list {
    height: auto;
  }
}

/* Pride Section Styles */
.pride-header-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    gap: 20px;
}

.pride-title {
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: 2px;
    margin: 0;
    color: #444;
    text-transform: uppercase;
    font-family: var(--font-serif);
}

.pride-line {
    height: 1px;
    background-color: #999;
    width: 60px;
}

.pride-subtext {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
}

.pride-image-wrapper {
    position: relative;
    width: 100%;
    margin-top: 30px;
}

.pride-img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Responsive adjustments for Pride section */
@media (max-width: 768px) {
    .pride-title {
        font-size: 1.5rem;
    }
    .pride-line {
        width: 30px;
    }
}

/* Food & Offers Section */
.food-offers {
    background-color: #fcfcfc; /* Subtle contrast background */
}

.food-header-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.offers-grid {
    display: grid;
    /* Strict Landscape grid: min 450px width (forces 2 columns on most screens, very wide) */
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr)); 
    gap: 30px;
    margin-bottom: 50px;
}

.offer-card {
    position: relative;
    height: 260px; /* Fixed landscape height */
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border-radius: 2px;
    background-color: #000;
}

.offer-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.offer-card:hover .offer-img {
    transform: scale(1.03); /* Subtle zoom */
}

/* Floating/Overlay Style - Clean version */
.offer-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    /* Gradient for readability on image */
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 70%, transparent 100%);
    padding: 30px 20px 20px;
    transform: translateY(0);
    height: auto;
    width: 100%;
    max-width: 100%;
    box-shadow: none;
    text-align: center;
    border-bottom: 4px solid var(--primary-gold); /* Gold accent line at very bottom */
    transition: all 0.3s ease;
}

.offer-card:hover .offer-content {
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 100%);
}

.offer-content h3 {
    font-size: 1.1rem;
    letter-spacing: 1px;
    margin-bottom: 5px;
    font-weight: 400;
    text-transform: uppercase;
    font-family: var(--font-serif);
    color: #fff; /* White text for contrast */
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.offer-link {
    display: none; /* Ensure obscured if not removed in HTML */
}

/* Influencer Video Section */
.video-slider-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 50px auto 0;
    padding: 0 50px;
}

.video-slider-container {
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
}

.video-slider-container::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.video-track {
    display: flex;
    gap: 30px;
    width: max-content; /* Ensure track spans full content width */
}

.video-card {
    flex: 0 0 450px; /* Wider flex basis for landscape */
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    height: 300px; /* Shorter height for landscape */
    background: #000;
}

.video-card iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Guest Section Styles - Slider */
.guest-slider-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px; /* Space for buttons */
}

.guest-slider-container {
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.guest-slider-container::-webkit-scrollbar {
    display: none;
}

.guest-track {
    display: flex;
    gap: 30px;
    width: max-content;
}

.guest-card {
    flex: 0 0 300px; /* Fixed width for cards in slider */
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    height: 400px; /* Tall portrait look for guests */
}

.guest-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.guest-card:hover .guest-img {
    transform: scale(1.05);
}

/* Slider Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--primary-gold);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    z-index: 1000; /* Ensure strictly above everything */
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    pointer-events: auto;
}

.slider-btn:hover {
    background-color: var(--primary-gold-dark);
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

/* Reviews / Happy Customers Section */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
    text-align: left;
}

.review-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    border-top: 4px solid var(--primary-gold);
    display: flex;
    flex-direction: column;
}

.review-card:hover {
    transform: translateY(-5px);
}

.reviewer-info {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.reviewer-avatar {
    width: 45px;
    height: 45px;
    background: #f0f0f0;
    color: var(--primary-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 15px;
}

.reviewer-details h4 {
    margin: 0;
    font-size: 1rem;
    color: #333;
}

.stars {
    color: #fca50b; /* Google star color */
    font-size: 0.9rem;
    margin-top: 2px;
}

.review-text {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 0;
    flex-grow: 1;
    font-style: italic;
}

.source-badge {
    margin-top: 15px;
    font-size: 0.8rem;
    color: #999;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Responsive adjustments */
/* Responsive adjustments */
@media (max-width: 768px) {
    /* Navigation adjustments */
    .nav-links {
        display: none; /* Keep hidden for now, or implement simple stack if needed */
    }
    
    .nav-container {
        justify-content: center;
    }

    /* Hero Text */
    .hero-content h1 {
        font-size: 2rem;
        padding: 0 15px;
    }

    /* Section Spacing */
    .section-padding {
        padding: 50px 0;
    }

    /* Pride Section - Image Mobile Fix */
    .pride-img {
        height: auto;
        min-height: 250px;
        object-fit: cover;
    }

    /* Food Offers Grid - Single Column on Mobile */
    .offers-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

    .offer-card {
        height: 220px; /* Slightly shorter on mobile */
    }

    /* Video Slider - Responsive Cards */
    .video-card {
        flex: 0 0 85vw; /* Show nearly full width card on mobile */
        height: 250px;
    }
    
    .video-slider-wrapper {
        padding: 0 10px; /* Reduce padding for arrows */
    }

    /* Guest Slider - Responsive Cards */
    .guest-card {
        flex: 0 0 70vw; /* Partial width to show it's a slider */
        height: 350px;
    }

    /* Reviews Grid - Single Column */
    .reviews-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

    /* Contact Grid - Single Column */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Map - Responsive Height */
    .map-full-width {
        height: 300px;
    }

    /* Facilities List */
    .facility-grid {
        flex-direction: column;
    }
    
    .facility-img img, 
    .facility-list {
        height: auto;
        min-height: 300px;
    }

    .facility-list {
        padding: 30px 20px;
    }

    /* Buttons */
    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

/* Small Mobile Adjustments (Phones < 480px) */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .pride-title {
        font-size: 1.5rem !important; /* Force override */
    }
    
    .contact-form {
        padding: 20px;
    }
}
/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background-color: #25D366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 14px rgba(0,0,0,0.4);
    color: #fff;
}

.floating-whatsapp svg {
    width: 35px;
    height: 35px;
    fill: currentColor;
}
