/*
Theme Name: Nisos Beach Bar
Theme URI: https://nisosbeachbar.com
Author: Nisos Development Team
Author URI: https://nisosbeachbar.com
Description: Custom WordPress theme for Nisos Beach Bar - A multilingual beach bar website with full admin control
Version: 1.0.0
License: Private
Text Domain: nisos-beach-bar
Tags: custom, one-page, multilingual, responsive
*/

/* Font Face Declarations */
@font-face {
  font-family: 'DM Serif Display';
  src: url('./assets/fonts/DMSerifDisplay-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DM Serif Display';
  src: url('./assets/fonts/DMSerifDisplay-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* CSS Reset and Base Styles */
:root {
  /* Beach-Inspired Color Palette */
  --primary: #ff6a00;        /* Sunset Orange */
  --primary-light: #ff8533;
  --primary-dark: #e65a00;
  --accent: #00a8cc;          /* Ocean Blue */
  --accent-light: #33bfd9;
  --accent-dark: #0087a3;
  --sand: #f9f5f0;            /* Warm Sand */
  --sand-light: #fdfbf8;
  --sand-dark: #f3eadd;
  --ocean: #006994;           /* Deep Ocean */
  --seafoam: #a3d5d1;         /* Seafoam Green */
  --coral: #ff6b6b;           /* Coral */
  --sunshine: #ffd93d;        /* Yellow Sunshine */
  
  /* Text Colors */
  --ink: #1a1f2e;             /* Deep Navy */
  --ink-light: #4a5568;
  --muted: #718096;
  --light: #a0aec0;
  
  /* Backgrounds */
  --bg: #ffffff;
  --bg-light: #fafafa;
  --bg-sand: var(--sand);
  
  /* Design Tokens */
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --shadow-xs: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow: 0 6px 18px rgba(0,0,0,0.1);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.15);
  --shadow-xl: 0 24px 48px rgba(0,0,0,0.2);
  
  /* Typography */
  --font-heading: 'DM Serif Display', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  
  /* Gradients */
  --gradient-sunset: linear-gradient(135deg, #ff6a00 0%, #ff8533 50%, #ffd93d 100%);
  --gradient-ocean: linear-gradient(135deg, #00a8cc 0%, #006994 100%);
  --gradient-beach: linear-gradient(180deg, #87ceeb 0%, #00a8cc 50%, #006994 100%);
  --gradient-sand: linear-gradient(135deg, var(--sand-light) 0%, var(--sand) 50%, var(--sand-dark) 100%);
}

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

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  margin: 0 0 0.6em;
  font-weight: 400;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  margin-bottom: 1.5rem;
}

h3 {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  text-decoration: underline;
}

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

.container {
  width: min(1200px, 100% - 2rem);
  margin-inline: auto;
  padding: 0 1rem;
}

/* Top Bar */
.top-bar {
  background: var(--gradient-sand);
  padding: 0.5rem 0;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
}

.top-bar-item i {
  color: var(--primary);
  font-size: 0.9em;
}

.top-bar-item a {
  color: var(--ink);
  font-weight: 600;
}

/* Header & Navigation */
header.site-header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.25rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

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

.site-logo {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.8rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.site-logo a {
  display: inline-block;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
}

.site-logo img {
  height: 60px;
  width: auto;
  transition: all 0.3s ease;
}

.site-logo img:hover {
  transform: scale(1.05);
}

nav.main-navigation {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

nav.main-navigation a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  letter-spacing: 0.08em;
  padding: 0.5rem 0;
}

nav.main-navigation a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-sunset);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

nav.main-navigation a:hover {
  color: var(--primary);
  text-decoration: none;
}

nav.main-navigation a:hover::after,
nav.main-navigation a.active::after {
  width: 100%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--ink);
}

/* Language Switcher - Removed (English only site) */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gradient-ocean);
  color: #fff;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}

.btn.btn-primary {
  background: var(--primary);
}

.btn.btn-primary:hover {
  background: #e55a00;
}

/* Sections */
section {
  padding: 5rem 0;
  position: relative;
}

/* Alternating Section Backgrounds */
section:nth-of-type(even) {
  background: var(--gradient-sand);
}

section:nth-of-type(odd) {
  background: var(--bg);
}

section:nth-child(even) {
  background: var(--sand);
}

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

.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--ink);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.section-header p {
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
}

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

.hero-carousel .swiper-slide {
  position: relative;
}

.hero-carousel img,
.hero-carousel video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.5));
  z-index: 2;
}

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

.hero-content h1 {
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

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

/* Why Choose Us Section */
.why-choose-us-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.why-text {
  padding-right: 2rem;
}

.why-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.why-point {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.why-point-icon {
  width: 50px;
  height: 50px;
  background: var(--sand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-point-icon i {
  color: var(--primary);
  font-size: 1.5rem;
}

.why-point-content h4 {
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}

.why-point-content p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

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

.why-gallery img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

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

/* Facilities Section */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.facility-card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.facility-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-sunset);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}

.facility-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.facility-card:hover::before {
  transform: scaleX(1);
}

.facility-card i {
  font-size: 2.5rem;
  background: var(--gradient-sunset);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  width: 50px;
  text-align: center;
  transition: transform 0.3s ease;
}

.facility-card:hover i {
  transform: scale(1.1);
}

.facility-card h4 {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
}

/* Food & Drinks Section */
.food-drinks-content {
  text-align: center;
}

.food-carousel {
  max-width: 100%;
  margin: 2rem auto;
}

.food-carousel .swiper-slide {
  height: auto;
}

.food-carousel img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

@media (min-width: 768px) {
  .food-carousel img {
    height: 350px;
  }
}

@media (min-width: 1024px) {
  .food-carousel img {
    height: 400px;
  }
}

.menu-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* Gallery Section */
.gallery-tabs {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.gallery-tab {
  padding: 0.5rem 1rem;
  background: white;
  border: 2px solid var(--muted);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-tab.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* Legacy grid styles - now replaced by carousel */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

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

.gallery-item img {
  transition: transform 0.3s ease;
}

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

/* Reviews Section */
.reviews-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.review-card {
  background: white;
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.review-author {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.review-date {
  color: var(--muted);
  font-size: 0.9rem;
}

.review-stars {
  color: #ffc107;
}

.review-content {
  color: var(--muted);
  line-height: 1.6;
}

/* Events Section */
.events-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.events-carousel {
  max-width: 400px;
}

.event-slide img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: auto;
}

.private-events {
  padding: 2rem;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}

.private-events h3 {
  margin-bottom: 1rem;
}

.private-events p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

/* Contact Section */
.contact-content {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 3rem;
  align-items: start;
}

.contact-info {
  padding: 2rem;
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.contact-item i {
  color: var(--primary);
  font-size: 1.5rem;
  width: 30px;
  text-align: center;
  margin-top: 0.25rem;
}

.contact-item-content h4 {
  margin-bottom: 0.5rem;
}

.contact-item-content p {
  color: var(--muted);
  margin: 0;
}

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 500px;
  position: relative;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.directions-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

/* Footer */
footer.site-footer {
  background: white;
  color: var(--ink);
  padding: 3rem 0 1rem;
  text-align: center;
  border-top: 1px solid var(--sand-dark);
}

.footer-content {
  margin-bottom: 2rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: var(--sand-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: 1px solid var(--muted);
}

.social-links a:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.social-links a:hover i {
  color: white;
}

.social-links i {
  color: var(--ink);
  font-size: 1.2rem;
}

.social-links .social-icon-disabled {
  width: 40px;
  height: 40px;
  background: var(--sand-dark);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--muted);
  opacity: 0.6;
  cursor: default;
}

.social-links .social-icon-disabled i {
  color: var(--muted);
  font-size: 1.2rem;
}

.social-links .tripadvisor-logo {
  width: 32px;
  height: auto;
  opacity: 0.6;
  filter: grayscale(50%);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--sand-dark);
  color: var(--ink);
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .top-bar .container {
    justify-content: center;
    text-align: center;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  nav.main-navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  }
  
  nav.main-navigation.active {
    display: flex;
  }
  
  .why-choose-us-content,
  .events-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .why-text {
    padding-right: 0;
  }
  
  .why-points {
    grid-template-columns: 1fr;
  }
  
  .facilities-grid {
    grid-template-columns: 1fr;
  }
  
  .reviews-list {
    grid-template-columns: 1fr;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
}