/* 
 * Modern Design Enhancements inspired by krynicafamilyhouse.pl
 * Add this file after style.css in HTML: <link rel="stylesheet" href="css/modern-enhancements.css">
 */

/* ============================================
   COLOR ENHANCEMENTS - More modern palette
   ============================================ */
:root {
  --primary-color: #2c5f7c; /* Modern blue instead of yellow */
  --primary-hover: #1e4a61;
  --accent-color: #ffba5a; /* Keep accent yellow for highlights */
  --text-dark: #1a1a1a;
  --text-medium: #4a4a4a;
  --text-light: #6c757d;
  --bg-white: #ffffff;
  --bg-light: #f8f9fa; /* Cleaner light background */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
  --border-radius: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   TYPOGRAPHY IMPROVEMENTS
   ============================================ */
body {
  color: var(--text-medium);
  font-weight: 300;
  letter-spacing: 0.01em;
}

h1, h2, h3, h4, h5 {
  color: var(--text-dark);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.heading {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .heading {
    font-size: 2rem;
  }
}

/* ============================================
   BUTTON ENHANCEMENTS - More modern, prominent
   ============================================ */
.btn-primary {
  background: var(--primary-color);
  border: none;
  color: #fff;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-transform: none;
  letter-spacing: 0.5px;
}

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

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline-primary {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 8px;
  transition: var(--transition);
}

.btn-outline-primary:hover {
  background: var(--primary-color);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-white-primary {
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 8px;
  transition: var(--transition);
}

.btn-outline-white-primary:hover {
  background: #fff;
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

/* ============================================
   ROOM CARDS - Modern card design
   ============================================ */
.room {
  background: var(--bg-white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: block;
  text-decoration: none;
  height: 100%;
}

.room:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}

.room .img-wrap {
  position: relative;
  overflow: hidden;
  height: 280px;
  background: #f0f0f0;
}

.room .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
  margin-bottom: 0 !important;
}

.room:hover .img-wrap img {
  transform: scale(1.1);
}

.room-info {
  padding: 1.5rem !important;
  background: var(--bg-white);
}

.room-info h2 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
  font-weight: 600;
}

.room-info span {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1rem;
}

/* ============================================
   SECTION IMPROVEMENTS - Better spacing
   ============================================ */
.section {
  padding: 5rem 0;
}

@media (max-width: 768px) {
  .section {
    padding: 3rem 0;
  }
}

.bg-light {
  background: var(--bg-light) !important;
}

/* ============================================
   CARD ENHANCEMENTS - Modern card style
   ============================================ */
.card {
  border: none;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  overflow: hidden;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.card-img-top {
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  height: 250px;
  object-fit: cover;
}

.card-body {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.card-text {
  color: var(--text-medium);
  line-height: 1.7;
}

/* ============================================
   FORM ENHANCEMENTS - Cleaner inputs
   ============================================ */
.form-control {
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 15px;
  transition: var(--transition);
  background: var(--bg-white);
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(44, 95, 124, 0.1);
  outline: none;
}

.form-control::placeholder {
  color: #999;
}

/* ============================================
   CHECK AVAILABILITY BOX - Modern design
   ============================================ */
.check-availabilty .block-32 {
  background: var(--bg-white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  padding: 2rem;
  border: none;
}

@media (max-width: 768px) {
  .check-availabilty .block-32 {
    padding: 1.5rem;
  }
}

/* ============================================
   SITE BLOCK HALF - Enhanced layout
   ============================================ */
.site-block-half {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
  background: var(--bg-white);
}

.site-block-half .image {
  min-height: 400px;
  background-size: cover;
  background-position: center;
}

.site-block-half .text {
  padding: 3rem;
}

@media (max-width: 991px) {
  .site-block-half .text {
    padding: 2rem;
  }
}

.site-block-half .display-4 {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 2.5rem;
}

/* ============================================
   HEADER ENHANCEMENTS
   ============================================ */
.site-header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
}

.site-logo a {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-dark);
  transition: var(--transition);
}

.site-logo a:hover {
  color: var(--primary-color);
}

/* ============================================
   HERO SECTION - Better text contrast
   ============================================ */
.site-hero .heading {
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  font-weight: 700;
}

.site-hero .custom-caption {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  font-weight: 400;
}

/* ============================================
   FOOTER ENHANCEMENTS
   ============================================ */
.footer-section {
  background: var(--text-dark);
  color: #ccc;
}

.footer-section a {
  color: #ccc;
  transition: var(--transition);
}

.footer-section a:hover {
  color: #fff;
  text-decoration: none;
}

.footer-section .text-primary {
  color: var(--accent-color) !important;
}

/* ============================================
   ACTIVITY CARDS - Modern slider cards
   ============================================ */
.slider-item .card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.slider-item .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* ============================================
   TESTIMONIAL SECTION - If used
   ============================================ */
.testimonial {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-primary {
  color: var(--primary-color) !important;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.shadow-sm {
  box-shadow: var(--shadow-sm) !important;
}

.shadow-md {
  box-shadow: var(--shadow-md) !important;
}

.shadow-lg {
  box-shadow: var(--shadow-lg) !important;
}

/* ============================================
   RESPONSIVE IMPROVEMENTS
   ============================================ */
@media (max-width: 768px) {
  .room .img-wrap {
    height: 220px;
  }
  
  .room-info {
    padding: 1.25rem !important;
  }
  
  .btn-primary,
  .btn-outline-primary {
    padding: 12px 24px;
    font-size: 14px;
  }
}

/* ============================================
   ANIMATION ENHANCEMENTS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

[data-aos] {
  transition-duration: 0.6s;
}

/* ============================================
   CONTACT SECTION - Map styling
   ============================================ */
.contact-section {
  background: var(--bg-light);
}

.contact-section .border {
  border: none !important;
  box-shadow: var(--shadow-sm);
  border-radius: var(--border-radius);
}

/* ============================================
   GALLERY/SLIDER IMPROVEMENTS
   ============================================ */
.home-slider .slider-item {
  border-radius: var(--border-radius);
  overflow: hidden;
}

.home-slider .slider-item img {
  transition: var(--transition);
}

.home-slider .slider-item:hover img {
  transform: scale(1.05);
}
