/* --- GLOBAL SETTINGS --- */
html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0f172a;
    color: #f8fafc;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- NAVIGATION --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 90px;
    display: flex;
    align-items: center;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4%;
}

.nav-right {
    display: flex;
    align-items: center;
}

.main-logo {
    height: 150px !important;
    width: auto !important;
    max-height: none !important;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
}

.nav-links li {
    display: inline-block;
}

.nav-links a {
    text-decoration: none;
    color: #94a3b8;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 8px;
    transition: color 0.3s ease;
}

/* The Underline Effect */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #fbbf24;
    transition: width 0.3s ease;
}

.btn-enquire:hover {
    background-color: #fbbf24;
    color: #0f172a !important;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #f8fafc;
    margin: 5px 0;
    transition: 0.3s ease;
    border-radius: 2px;
}

.nav-toggle {
    display: none;
}

.nav-toggle:checked ~ .hamburger span:nth-child(1) {
    transform: rotate(-45deg) translate(-8px, 10px);
}

.nav-toggle:checked ~ .hamburger span:nth-child(2) {
    opacity: 0;
}

.nav-toggle:checked ~ .hamburger span:nth-child(3) {
    transform: rotate(45deg) translate(-8px, -10px);
}

.nav-toggle:checked ~ .nav-right .nav-links {
    display: flex !important;
}

/* Active & Hover States */
.nav-links a:hover,
.nav-links a.active {
    color: #fbbf24 !important;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.btn-enquire {
    border: 1px solid rgba(251, 191, 36, 0.6);
    color: #fbbf24 !important;
    padding: 10px 22px;
    transition: all 0.3s ease;
}

/* --- HERO SECTION --- */
.hero {
    min-height: calc(100vh - 90px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 20px;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 8vw, 85px);
    line-height: 1.2;
    margin-bottom: 20px;
    word-spacing: 9999px;
}

.italic-text { font-style: italic; color: #475569; }

.hero-label {
    color: #fbbf24;
    letter-spacing: 12px;
    text-transform: uppercase;
    margin-bottom: 25px;
    font-size: 14px;
}

.hero-line {
    width: 1px;
    height: 100px;
    background: linear-gradient(to bottom, #fbbf24, transparent);
    margin: 40px auto;
}

/* --- PORTFOLIO GRID --- */
.portfolio-page {
    padding: clamp(60px, 10vw, 120px) clamp(20px, 8vw, 60px) clamp(60px, 10vw, 100px);
    content-visibility: auto;
    contain-intrinsic-size: 1000px;
}

.section-header {
    text-align: center;
    margin-bottom: clamp(40px, 8vw, 80px);
}

.section-header h2 {
    font-family: 'Playfair Display';
    font-size: clamp(28px, 6vw, 50px);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(15px, 3vw, 20px);
    max-width: 1400px;
    margin: 0 auto;
}

.category-item {
    position: relative;
    height: clamp(250px, 50vw, 450px);
    min-height: 250px;
    overflow: hidden;
    background: #1e293b;
    cursor: pointer;
    border-radius: 4px;
}

.category-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.8s ease;
}

/* Fades in image once loaded */
.category-item img[src] {
    opacity: 1;
}

.category-item:hover img {
    transform: scale(1.05);
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: 0.4s ease;
}

.category-item:hover .category-overlay {
    opacity: 1;
}

.category-overlay span {
    color: #fbbf24;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-size: 12px;
    border: 1px solid #fbbf24;
    padding: 15px 30px;
}

/* --- STORIES SECTION --- */
.stories-section {
    padding: 160px 60px;
    text-align: center;
    background: #0b1221;
    content-visibility: auto;
}

.stories-container {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin-top: 50px;
}

.story-card {
    background: #1e293b;
    padding: 30px;
    width: 400px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.story-img-placeholder {
    width: 100%;
    height: 200px;
    background: #334155;
    margin-bottom: 20px;
}

.story-card h3 { 
    font-family: 'Playfair Display'; 
    margin-bottom: 10px; 
    color: #fbbf24; 
}

.story-card p { 
    font-size: 14px; 
    color: #94a3b8; 
    margin-bottom: 20px; 
}

.read-more { 
    color: #f8fafc; 
    font-size: 10px; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    text-decoration: none; 
    border-bottom: 1px solid #fbbf24; 
}

/* --- RESPONSIVE QUERIES --- */
@media (max-width: 1024px) {
    .category-grid { grid-template-columns: 1fr 1fr; }
    .stories-container { flex-direction: column; align-items: center; }
    .portfolio-page { padding: 120px 40px 80px; }
    .section-header { margin-bottom: 60px; }
}

@media (max-width: 768px) {
    .portfolio-page { padding: 100px 20px 60px; }
    .hero { padding: 20px; }
    h1 { font-size: clamp(24px, 6vw, 48px); }
    .hero-label { font-size: 12px; letter-spacing: 8px; }
    .hero-line { height: 60px; margin: 30px auto; }
    .hero-footer { font-size: 12px; }
    .section-header { margin-bottom: 40px; }
    .section-header h2 { font-size: 32px; }
}

@media (max-width: 650px) {
    .category-grid { grid-template-columns: 1fr; }
    .nav-container { padding: 0 20px; }
    .portfolio-page { padding: 80px 15px 50px; }
    .category-item { height: 300px; }
    .section-header { margin-bottom: 30px; }
    .section-header h2 { font-size: 24px; }
    .category-overlay span { padding: 10px 20px; font-size: 10px; }
    
    .stories-section { padding: 100px 20px 60px; }
    .stories-wrapper { gap: 80px; }
    .story-hero { height: 40vh; }
    .story-title { font-size: 24px; margin-bottom: 15px; }
    .story-intro { font-size: 14px; margin-bottom: 40px; }
    .story-sequence { grid-template-columns: 1fr; gap: 20px; margin-bottom: 40px; }
    .sequence-item img { height: 250px; }
    .caption { font-size: 11px; }
    
    .site-footer { padding: 60px 20px 30px; }
    .footer-info h2 { font-size: 28px; margin-bottom: 30px; }
    .contact-links { gap: 30px; margin-bottom: 50px; }
    .contact-item { gap: 10px; }
    .contact-item .icon { font-size: 20px; }
    .contact-item span:last-child { font-size: 12px; }
    .footer-bottom { margin-top: 30px; padding-top: 20px; }
    .footer-bottom p { font-size: 9px; }
}

@media (max-width: 480px) {
    .navbar { height: 60px; }
    .main-logo { height: 100px !important; }
    .nav-links { width: 160px; gap: 15px; padding: 15px; }
    .nav-links a { font-size: 10px; letter-spacing: 1px; }
    .btn-enquire { padding: 8px 16px; font-size: 10px; }
    
    .portfolio-page { padding: 70px 12px 40px; }
    h1 { font-size: 20px; line-height: 1.2; }
    .hero-label { font-size: 11px; letter-spacing: 6px; margin-bottom: 15px; }
    .hero-line { height: 50px; margin: 20px auto; }
    
    .category-item { height: 280px; }
    .category-overlay span { padding: 8px 16px; font-size: 9px; }
    
    .stories-section { padding: 80px 15px 50px; }
    .story-hero { height: 35vh; }
    .story-title { font-size: 20px; }
    .story-intro { font-size: 13px; margin-bottom: 30px; }
    .sequence-item img { height: 200px; }
    
    .site-footer { padding: 50px 15px 25px; }
    .footer-info h2 { font-size: 22px; margin-bottom: 25px; }
    .contact-links { gap: 20px; margin-bottom: 40px; flex-direction: column; }
    .contact-item { flex-direction: row; justify-content: center; gap: 10px; }
}

@media (min-width: 769px) {
    .nav-links { display: flex !important; }
}
/* --- STORIES ENHANCEMENTS --- */
.stories-section {
    padding: 160px 6% 100px;
    background: #0b1221;
}

.stories-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 150px; /* Space between different stories */
}

.story-entry {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.story-hero {
    width: 100%;
    height: 70vh;
    overflow: hidden;
    background: #1e293b;
}

.story-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.story-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 4vw, 42px);
    color: #fbbf24;
    margin-bottom: 20px;
}

.story-intro {
    font-size: clamp(14px, 3vw, 18px);
    color: #cbd5e1;
    font-style: italic;
    margin-bottom: 60px;
}

.story-sequence {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 60px;
}

.sequence-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.caption {
    font-size: 13px;
    letter-spacing: 1px;
    color: #94a3b8;
    text-transform: uppercase;
}

.closing-line {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: #f8fafc;
    border-top: 1px solid rgba(251, 191, 36, 0.3);
    padding-top: 30px;
    display: inline-block;
}

/* Responsive Stories */
@media (max-width: 900px) {
    .story-sequence { grid-template-columns: 1fr; }
    .story-title { font-size: 32px; }
    .story-hero { height: 50vh; }
}
.nav-links a.active {
    color: #fbbf24 !important;
}
.nav-links a.active::after {
    width: 100% !important;
}
/* --- FOOTER STYLING --- */
.site-footer {
    background-color: #0b1221;
    padding: 100px 60px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: 40px;
    margin-bottom: 50px;
}
  .floating-contact-container {
    position: fixed;
    bottom: 24px;
    left: 24px;
    display: flex;
    flex-direction: column; /* Stack icons vertically */
    gap: 15px;
    z-index: 9999;
    align-items: center;
  }

  .contact-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
  }

  .contact-btn:hover {
    transform: translateY(-5px);
  }

  /* Colors matching your image */
  .btn-call { background-color: #22C55E; }
  .btn-whatsapp { background-color: #4ADE80; }
  .btn-close { background-color: #A855F7; font-size: 30px; font-weight: 300; }

  /* Icon sizing */
  .contact-btn img {
    width: 32px;
    height: auto;
  }

/* Responsive Header */
@media (max-width: 768px) {
    .navbar {
        height: 70px;
    }
    .main-logo {
        height: 120px !important;
    }
    .hamburger {
        display: flex;
    }
    .nav-links {
        position: absolute;
        top: 70px;
        right: 0;
        flex-direction: column;
        background: rgba(15, 23, 42, 0.95);
        padding: 20px;
        display: none;
        gap: 20px;
        width: 200px;
    }
    .nav-right {
        position: relative;
    }
    .btn-enquire {
        margin-top: 10px;
        align-self: flex-start;
    }
}

@media (min-width: 769px) {
    .nav-links {
        display: flex !important;
    }
}
/* Mobile Responsive Adjustments */
@media (max-width: 600px) {
  .floating-contact-container {
    bottom: 15px; /* Move closer to the edge */
    left: 15px;
    gap: 8px;    /* Tighter spacing */
  }

  .contact-btn {
    width: 45px;  /* Smaller circle */
    height: 45px;
  }

  /* Shrink the icons inside the circles */
  .contact-btn i {
    font-size: 18px !important; 
  }
  
  .btn-whatsapp i {
    font-size: 24px !important;
  }
}
.contact-icons-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: all 0.3s ease-in-out;
    opacity: 1;
    transform: translateY(0);
}

/* This class will be added/removed by JavaScript */
.contact-icons-hidden {
    display: none !important;
}

/* Style for the main button to change color when closed */
.btn-toggle.closed {
    background-color: #25d366; /* Green or your brand color */
}
.btn-toggle i {
    transition: transform 0.3s ease;
}
#toggleIcon {
    color: #333 !important; /* This makes the X dark gray */
    font-size: 26px; /* Making it slightly larger so it's easier to see */
    font-weight: 900; /* Making the X thicker */
}
/* --- SOCIAL ICONS FINAL CLEAN VERSION --- */
/* REMOVE ALL EXTRA SPACE AROUND ICONS */
.social-links-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;

  padding: 20px 0;
  margin: 0 !important;

  background: transparent !important;
}
/* FORCE BACKGROUND CONSISTENCY */
.social-links-container,
.social-links-container * {
  background: transparent !important;
}
.social-link {
  background: #0b1221 !important;  /* EXACT same as your site */
  padding: 0 !important;
  margin: 0 !important;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
background: transparent;  /* no weird strip */
  color: #f8fafc;

  font-size: 24px;      /* 🔥 bigger icon */
  text-decoration: none;

  border: 1px solid rgba(255,255,255,0.15);
  transition: all 0.3s ease;
}

.social-link:hover {
  background: #fbbf24;
  color: #0f172a;
}
/* Hover effect */
.social-link:hover {
  background: #fbbf24;
  color: #0f172a;
  transform: translateY(-4px);
}

/* Remove any weird spacing from icon itself */
.social-link i {
  line-height: 1;
}
.site-footer {
  padding-top: 20px !important;  /* reduce from 100px */
}
/* REMOVE GAP ABOVE ICONS */
.stories-section {
  padding-bottom: 0 !important;
}
/* FORCE EVERYTHING AROUND ICONS TO MATCH */
.social-links-container,
.social-links-container::before,
.social-links-container::after {
  background: #0b1221 !important;
}
