/* Modern Style Overrides for The Bay Coco */

/* Import modern fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
  --primary-color: #2D5A27;
  --secondary-color: #8BC34A;
  --accent-color: #FF6B35;
  --text-dark: #1A1A1A;
  --text-light: #666666;
  --white: #FFFFFF;
  --light-bg: #F8F9FA;
  --border-color: #E9ECEF;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
  --border-radius: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base styles */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

/* Modern Navigation */
.ftco-navbar-light {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  transition: var(--transition);
}

.ftco-navbar-light .navbar-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--primary-color) !important;
}

.ftco-navbar-light .navbar-nav > .nav-item > .nav-link {
  font-weight: 500;
  color: var(--text-dark) !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 8px;
  transition: var(--transition);
  margin: 0 0.25rem;
}

.ftco-navbar-light .navbar-nav > .nav-item > .nav-link:hover {
  color: var(--primary-color) !important;
  background-color: rgba(45, 90, 39, 0.05);
}

.ftco-navbar-light.scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: var(--shadow);
}

/* Modern Hero Section */
.hero {
  background-attachment: fixed;
  position: relative;
}

.owl-carousel.home-slider {
  height: 100vh;
  min-height: 600px;
}

.owl-carousel.home-slider .slider-item {
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  position: relative;
}

.owl-carousel.home-slider .slider-item .overlay {
  background: linear-gradient(135deg, rgba(45, 90, 39, 0.8) 0%, rgba(139, 195, 74, 0.6) 100%);
  opacity: 0.9;
}

.owl-carousel.home-slider .slider-item .slider-text {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.owl-carousel.home-slider .slider-item .slider-text .one-forth {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.owl-carousel.home-slider .slider-item .slider-text .subheading {
  color: var(--white);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.owl-carousel.home-slider .slider-item .slider-text h1 {
  font-size: clamp(3rem, 8vw, 5rem);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.owl-carousel.home-slider .slider-item .slider-text h2 {
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  color: var(--white);
  font-weight: 400;
  margin-bottom: 2rem;
  opacity: 0.95;
  line-height: 1.4;
}

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

.hero-buttons .btn {
  min-width: 160px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

/* Modern Buttons */
.btn {
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  border: none;
  transition: var(--transition);
  text-transform: none;
  letter-spacing: 0.5px;
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background: #1e3f1a;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

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

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

/* Modern Sections */
.ftco-section {
  padding: 6rem 0;
}

.section-about {
  background: var(--light-bg);
}

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

.heading-section h1.big {
  font-size: clamp(4rem, 10vw, 8rem);
  color: var(--primary-color);
  opacity: 0.1;
  font-weight: 700;
  margin-bottom: -2rem;
  line-height: 1;
}

.heading-section .subheading {
  color: var(--accent-color);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.heading-section h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

/* Modern About Section */
.wrap-about {
  padding: 3rem 0;
}

.wrap-about p {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.wrap-about .heading-section {
  text-align: left;
  margin-bottom: 2rem;
}

.wrap-about .heading-section h2 {
  text-align: left;
  margin-bottom: 1rem;
}

.wrap-about .heading-section .subheading {
  text-align: left;
}

.img-2 {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

/* Modern Services Section */
.services-section {
  background: var(--light-bg);
  position: relative;
}

.services-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(45, 90, 39, 0.02) 0%, rgba(139, 195, 74, 0.02) 100%);
  pointer-events: none;
}

.services {
  background: var(--white);
  padding: 3rem 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  text-align: center;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  transform: scaleX(0);
  transition: var(--transition);
}

.services:hover::before {
  transform: scaleX(1);
}

.services:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

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

.services .icon span {
  font-size: 2rem;
  color: var(--white);
}

.services:hover .icon {
  transform: scale(1.1);
}

.services .media-body h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.services .media-body p {
  color: var(--text-light);
  line-height: 1.6;
}

/* Modern Services Grid */
.ftco-services .services-wrap {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  margin-bottom: 2rem;
}

.ftco-services .services-wrap:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.ftco-services .services-wrap .img {
  height: 250px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.ftco-services .services-wrap .text {
  padding: 2rem;
}

.ftco-services .services-wrap .text h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.ftco-services .services-wrap .text h3 a {
  color: var(--text-dark);
  text-decoration: none;
  transition: var(--transition);
}

.ftco-services .services-wrap .text h3 a:hover {
  color: var(--primary-color);
}

/* Modern Contact Section */
.ftco-booking {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  position: relative;
  overflow: hidden;
}

.ftco-booking::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('/images/contact_us.jpg') center/cover;
  opacity: 0.1;
  z-index: 1;
}

.ftco-booking .one-forth {
  position: relative;
  z-index: 2;
}

.appointment-wrap {
  background: var(--white);
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-hover);
  position: relative;
  z-index: 2;
}

.appointment-wrap h3 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

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

.appointment-form .form-group input,
.appointment-form .form-group textarea {
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 1rem;
  font-size: 1rem;
  transition: var(--transition);
  background: var(--white);
}

.appointment-form .form-group input:focus,
.appointment-form .form-group textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(45, 90, 39, 0.1);
  outline: none;
}

.appointment-form .form-group .btn-primary {
  width: 100%;
  padding: 1.25rem;
  font-size: 1.1rem;
  font-weight: 600;
}

/* Modern Gallery */
.section-gallery {
  background: var(--light-bg);
  position: relative;
}

.section-gallery::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(45, 90, 39, 0.02) 0%, rgba(139, 195, 74, 0.02) 100%);
  pointer-events: none;
}

.section-gallery .container {
  position: relative;
  z-index: 2;
}

.project {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  margin-bottom: 2rem;
  position: relative;
}

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

.project img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: var(--transition);
}

.project:hover img {
  transform: scale(1.05);
}

/* Modern Testimony Section */
.testimony-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
}

.testimony-text {
  padding: 4rem 3rem;
}

.testimony-text .heading-section h2 {
  color: var(--white);
}

.testimony-text .heading-section .subheading {
  color: rgba(255, 255, 255, 0.8);
}

.testimony-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.testimony-text a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
}

.testimony-text a:hover {
  text-decoration: underline;
}

/* Modern Footer */
.ftco-footer {
  background: var(--text-dark);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.ftco-footer .ftco-footer-widget h2.logo {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.ftco-footer .ftco-footer-widget h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.ftco-footer .ftco-footer-widget p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.ftco-footer-social li {
  display: inline-block;
  margin-right: 1rem;
}

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

.ftco-footer-social li a:hover {
  background: var(--accent-color);
  transform: translateY(-2px);
}

.block-23 ul li {
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

.block-23 ul li a {
  color: var(--accent-color);
  text-decoration: none;
}

.block-23 ul li a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 991.98px) {
  .owl-carousel.home-slider {
    height: 70vh;
  }
  
  .owl-carousel.home-slider .slider-item {
    height: 70vh;
  }
  
  .ftco-section {
    padding: 4rem 0;
  }
  
  .appointment-wrap {
    padding: 2rem;
  }
  
  .testimony-text {
    padding: 3rem 2rem;
  }
}

@media (max-width: 767.98px) {
  .owl-carousel.home-slider {
    height: 60vh;
  }
  
  .owl-carousel.home-slider .slider-item {
    height: 60vh;
  }
  
  .ftco-section {
    padding: 3rem 0;
  }
  
  .services {
    padding: 2rem 1.5rem;
  }
  
  .ftco-services .services-wrap .text {
    padding: 1.5rem;
  }
  
  .appointment-wrap {
    padding: 1.5rem;
  }
  
  .testimony-text {
    padding: 2rem 1.5rem;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #1e3f1a;
}

/* Loading animation */
#ftco-loader {
  background: var(--white);
}

#ftco-loader .path {
  stroke: var(--primary-color);
}

/* Animation classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

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

/* Custom utility classes */
.text-gradient {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.shadow-custom {
  box-shadow: var(--shadow);
}

.shadow-custom-hover:hover {
  box-shadow: var(--shadow-hover);
} 