/* ------------------------------------------------
  Project:   Buildzie - Construction HTML5 Template
  Author:    ThemeHt
------------------------------------------------ */

/* ------------------------
    Table of Contents

  1. General
  2. Typography
  3. Text color
  4. Background color
  5. Banner Slider
  6. List Icon
  7. Contact Form
  8. Extra
  9. Responsive Css
------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600&family=Inter:wght@400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

/* ====================== LUXURIOUS LIGHT THEME ====================== */
/* Bedfordshire Tiling - Elegant, Professional & Bright */

:root {
  --primary: #c9a96e;      /* Soft luxurious gold/beige */
  --primary-dark: #b38a4e;
  --accent: #d4b88c;
  --text: #2c2c2c;
  --text-light: #555555;
  --background: #f8f5f0;   /* Warm off-white / cream */
  --light-bg: #ffffff;
  --border: #e5d9c0;
  --shadow: 0 10px 30px rgba(201, 169, 110, 0.12);
}

/* Body & General */
body {
  background-color: var(--background) !important;
  color: var(--text) !important;
  font-family: 'Georgia', 'Playfair Display', serif; /* Elegant serif for luxury feel */
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  color: #1f1f1f;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Header / Navigation */
header, .navbar, nav {
  background-color: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
  border-bottom: 1px solid var(--border);
}

.navbar-brand, .nav-link {
  color: var(--text) !important;
  font-weight: 500;
}

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

/* Hero Section */
.hero, .banner, #hero {
  background-color: #f8f5f0 !important;
  color: var(--text);
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(248,245,240,0.7), rgba(248,245,240,0.9));
}

/* Buttons */
.btn, .button, button {
  background-color: var(--primary) !important;
  color: white !important;
  border: none !important;
  padding: 14px 32px !important;
  border-radius: 4px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.btn:hover, .button:hover {
  background-color: var(--primary-dark) !important;
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(201, 169, 110, 0.25);
}

/* Sections */
section {
  background-color: var(--light-bg) !important;
  padding: 80px 0;
}

.section-title {
  color: #1f1f1f;
  position: relative;
  display: inline-block;
}

.section-title:after {
  content: '';
  position: absolute;
  width: 60px;
  height: 2px;
  background: var(--primary);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

/* Cards / Services / Gallery */
.card, .service-box, .portfolio-item {
  background: white !important;
  border: 1px solid var(--border) !important;
  border-radius: 8px !important;
  overflow: hidden;
  box-shadow: var(--shadow) !important;
  transition: transform 0.4s ease;
}

.card:hover, .service-box:hover, .portfolio-item:hover {
  transform: translateY(-12px);
}

/* Footer */
footer {
  background-color: #1f1f1f !important;
  color: #ddd !important;
}

footer a {
  color: var(--accent) !important;
}

footer a:hover {
  color: white !important;
}

/* Forms & Inputs */
input, textarea {
  border: 1px solid var(--border) !important;
  background: white;
}

input:focus, textarea:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.15);
}

/* Additional Luxury Touches */
.gold-divider {
  border-color: var(--accent) !important;
}

/* Make images and gallery pop on light background */
img {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* Main fix - Wrapper */
.photo-gallery-wrapper {
    width: 100%;
    max-width: 100%;
    position: relative;
    margin: 40px 0 30px 0;
    padding: 0;
    overflow: hidden;
    isolation: isolate;                 /* helps with stacking/scroll context */
}

/* The iframe - most important rules */
.photo-gallery-wrapper iframe {
    width: 100% !important;
    height: 900px !important;           /* change this: try 750 / 900 / 1100 */
    display: block;
    border: none;
    border-radius: 12px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;       /* ← stops scroll chaining to parent */
    touch-action: auto;
    pointer-events: auto;
}
/* Force the main page to scroll properly */
html, body {
    overflow-y: visible !important;
    -webkit-overflow-scrolling: touch;
}