@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Istok+Web:ital,wght@0,400;0,700;1,400;1,700&family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&family=Roboto:ital,wght@0,100..900;1,100..900&family=Spectral:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&family=Great+Vibes&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Istok+Web:ital,wght@0,400;0,700;1,400;1,700&family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&family=Roboto:ital,wght@0,100..900;1,100..900&family=Spectral:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

:root {
    --primary: #000000;
    --accent: #ff2d55;
    --bg: #ffffff;
    --bg-soft: #fff0f3;
    /* Re-applied soft pink for alternating sections */
    --text: #1d1d1f;
    --text-soft: #6e6e73;
    /* Improved visibility */
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.7);
    --border: rgba(0, 0, 0, 0.05);

    --radius: 18px;
    --light-pink: #fff0f3;
    /* Slightly more compact */
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
    --bg: #000000;
    --bg-soft: #121212;
    --text: #f5f5f7;
    --text-soft: #a1a1a6;
    --glass: rgba(20, 20, 20, 0.7);
    --border: rgba(255, 255, 255, 0.1);
}

/* Base Setup & Overflow Fix */
html,
body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    /* Prevent horizontal scroll */
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.5;
}

/* Logo Identity */
.brand-logo {
    height: 55px;
    /* Compact height */
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.footer-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    opacity: 0.8;
}

[data-theme="dark"] .brand-logo,
[data-theme="dark"] .footer-logo {
    filter: invert(1) brightness(2);
    /* Automatically adapt dark logos for dark mode */
}

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

.text-soft {
    color: var(--text-soft) !important;
}

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

/* Compact Spacing */
.section-padding {
    padding: clamp(30px, 6vw, 30px) 0;
    /* overflow-x: hidden; */
    overflow: hidden;
}

/* Compact Spacing */
.section-padding {
    padding: clamp(30px, 6vw, 30px) 0;
    overflow-x: hidden;
    /* Prevent child elements from causing overflow */
}

section:nth-of-type(even) {
    background-color: var(--bg-soft);
    padding: 10px;
    border-radius: 20px;
}

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

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

/* Navbar Visibility & Compactness */
#mainNav {
    padding: 0;
    transition: var(--transition);
    /* margin-top: 2%; */
}

.nav-inner {
    padding: 12px 25px;
}

.nav-inner {
    background: var(--glass);
    backdrop-filter: blur(15px) saturate(180%);
    border-bottom: 1px solid var(--border);
    padding: 2px 12px;
    width: 100%;
    transition: var(--transition);
    width: 95% !important;
    margin: auto;
    border-radius: 84px;
}

#mainNav.scrolled .nav-inner {
    padding: 2px 12px;
    /* background: var(--bg); */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.nav-link {
    font-size: 1rem;
    font-weight: 500;
    padding: 0 12px !important;
    color: #000;
}

/* Hero Section - Full Height with Padding */
.hero-section {
    padding: 15px;
    height: 100vh;
}

.hero-wrap {
    height: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

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

.grid-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Crucial for visibility */
    display: block;
    transition: transform 0.8s var(--transition);
}

.hero-slide {
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.modern-card {
    background: var(--glass);
    backdrop-filter: blur(30px) saturate(150%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
}

.contact-card {
    background-color: var(--light-pink) !important;
    backdrop-filter: none;
}

[data-theme="dark"] .contact-card {
    background-color: #1a1012 !important;
    /* Darker muted pink for dark mode */
}

/* Inputs Visibility */
.modern-input {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 12px 16px;
    width: 100%;
    margin-bottom: 12px;
    color: var(--text);
    font-size: 0.9rem;
}

[data-theme="dark"] .modern-input {
    background: rgba(255, 255, 255, 0.05);
}

.modern-input:focus {
    background: var(--bg);
    border-color: var(--accent);
}

/* Buttons */
.btn-modern {
    background: var(--accent);
    color: white;
    border-radius: 20px;
    padding: 12px 25px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Grid Portfolio - Compact Heights */

#testimonials .icon-flowers-15, #testimonials .icon-flowers-16, #testimonials .icon-flowers-17{
    opacity: 0.5;
} 
#testimonials .icon-flowers-15 {
    position: absolute;
        top: 309px;
    left: -1px;
}

#testimonials .icon-flowers-15 {
    width: 500px;
    height: 414px;
    background-image: url(../images/flowers-15.png);
}
#testimonials .icon-flowers-16 {
    position: absolute;
        top: -60px;
    right: -76px;
}
#testimonials .icon-flowers-16 {
        width: 500px;
    height: 384px;
    background-image: url(../images/flowers-16.png);
}
#testimonials .icon-flowers-17 {
    position: absolute;
    bottom: 1px;
    right: 1px;
}
#testimonials{
    position: relative;

}
#testimonials .icon-flowers-17 {
    width: 237px;
    height: 203px;
    background-image: url(../images/flowers-17.png);
}
.bounce-y {
    -webkit-animation: bounce-y 10s infinite linear;
    animation: bounce-y 10s infinite linear;
}
.modern-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
}


.grid-item {
    border-radius: var(--radius);
    height: 400px;
    /* Reduced from 550px */
}

/* Accordion Visibility Fix */
.accordion-button {
    color: var(--text) !important;
    background: transparent !important;
    font-size: 1rem;
    padding: 20px 0;
}

.accordion-button::after {
    filter: brightness(0.3);
}

[data-theme="dark"] .accordion-button::after {
    filter: invert(1);
}

.accordion-button:not(.collapsed) {
    color: var(--accent) !important;
}

.accordion-item {
    border-bottom: 1px solid var(--border);
}

/* Form Container - Re-positioned */
.hero-form-float {
    position: absolute;
    right: 30px;
    bottom: 30px;
    z-index: 10;
    width: 360px;
}

/* Expressive Portfolio Grid */
.modern-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-gap: 25px;
}

.grid-item {
    grid-column: span 6;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    height: 450px;
    background: var(--bg-soft);
    transition: var(--transition);
}

.grid-item.tall {
    grid-row: span 2;
    height: 925px;
}

.grid-item.wide {
    grid-column: span 12;
    height: 500px;
}

.grid-item.small {
    grid-column: span 4;
    height: 400px;
}

.grid-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.2s cubic-bezier(0.2, 1, 0.3, 1);
}

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

.grid-info {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
    color: white;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.2, 1, 0.3, 1);
    z-index: 2;
}

.grid-item:hover .grid-info {
    opacity: 1;
    transform: translateY(0);
}

.grid-item::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 0px solid var(--accent);
    transition: all 0.4s ease;
    z-index: 3;
    pointer-events: none;
}

.grid-item:hover::after {
    border-width: 10px;
    opacity: 0.1;
}

/* Footer Compact */
footer {
    padding: 50px 0 30px;
    border-radius: 30px 30px 0 0;
}

/* Grayscale */
.grayscale-hover {
    filter: grayscale(100%);
    transition: var(--transition);
}

.grayscale-hover:hover {
    filter: grayscale(0%);
}

/* Mobile Fixes & Mobile-Only Layout */
@media (max-width: 991px) {
    .hero-section {
        height: auto;
        padding: 10px;
        width: 100vw;
        max-width: 100%;
        overflow-x: hidden;
    }

    .hero-wrap {
        display: flex;
        flex-direction: column;
        height: auto;
        border-radius: var(--radius);
        background: transparent;
    }

    .hero-slider {
        position: relative;
        height: 60vh;
        /* Banner takes 60% of height */
        width: 100%;
        border-radius: var(--radius);
        z-index: 1;
    }

    .hero-overlay {
        border-radius: var(--radius);
    }

    .hero-form-float {
        position: relative;
        width: 100%;
        right: 0;
        bottom: 0;
        margin-top: -30px;
        /* Slight overlap for modern look */
        padding: 0 10px;
        z-index: 10;
    }

    .modern-card {
        padding: 25px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .grid-item {
        height: 350px !important;
    }

    .section-padding {
        padding: 40px 0;
    }

    .nav-inner {
        padding: 0px 6px !important;
        flex-wrap: wrap;
        border-radius: 28px;
    }

    #navbarNav {
        order: 3;
        width: 100%;
        flex-basis: 100%;
        padding: 10px 4px 4px;
    }

    #navbarNav .navbar-nav {
        width: 100%;
        /* background: var(--bg);
        border: 1px solid var(--border); */
        border-radius: 16px;
        padding: 8px 12px;
        gap: 2px;
    }
    

    [data-theme="dark"] #navbarNav .navbar-nav {
        background: #111111;
    }

    #navbarNav .nav-link {
        display: block;
        padding: 10px 6px !important;
    }
}

#reviews {
    background-color: transparent;
}

#reviews .modern-card,
footer {
    background: #f5f5f7 !important;
}

/* Custom Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
    color: var(--text) !important;
    background: var(--bg);
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.2rem !important;
    font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--accent);
    color: white !important;
    transform: scale(1.1);
}

.review-slider {
    padding: 20px 60px !important;
}

/* Default User Avatar */
.user-avatar-default {
    width: 60px;
    height: 60px;
    background: var(--bg-soft);
    color: var(--accent);
    font-size: 1.5rem;
    border: 1px solid rgba(0,0,0,0.05);
}

.btn:hover {
    border: 1px solid #000;
}

/* Instagram Image Alignment */
#instagram img {
    height: 220px;
    width: 100%;
    object-fit: cover;
    transition: var(--transition);
}

@media (max-width: 768px) {
    #instagram img {
        height: 200px;
    }
    .brand-logo {
    height: 40px;
    }
    h2{
        font-size: 24px !important;
    }
    .review-slider {
    /* padding: 20px 60px !important; */
    padding: 0px !important;
    }
    .review-slider p{
        font-size: 14px !important;
    }
}

#home textarea{
        height: 50px;
    color: #000 !important;
}
#home .container{
 max-width: 1290px !important;
}
#theme-toggle{
    display: none;
}

.quick_contact a {
  position: fixed;
  width: 40px;
  height: 40px;
  right: 18px;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 20px;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
  z-index: 100;
  transition: transform 0.5s ease;
}
.qwhtsapp {
  bottom: 70px;
  background-color: #25d366;
}
.qcall {
  bottom: 120px;
  background-color: #dc3545;
}
.quick_contact_icon {
  margin-top: 10px;
}
.quick_contact a:hover {
  transform: scale(1.1);
}
#home h1{
    position: absolute;
    bottom: 4%;
    font-size: 4rem;
}
.sec-title {
    position: relative;
}
h2 .icon-divider {
    position: relative;
    margin: 0 auto;
    display: inherit;
    margin-bottom: 35px;
}
.icon-divider {
    background-image: url(../images/divider.png);
    height: 22px;
    width: 172px;
    display: inline-block;
}

h2{
     font-family: "Cinzel", serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
}
.contact-info i{
    width:50px;
    height:50px;
    border-radius:50%;
    background:#ff2d55;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:18px;
}
#testimonials p {
  font-family: "Great Vibes", cursive;
  font-weight: 400;
  font-style: normal;
      font-size: 36px !important;
    line-height: normal
}

.insta-item{
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.insta-overlay{
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    background: transparent !important;
    transition: 0.4s ease;
}

.insta-overlay i{
    color: #fff;
    font-size: 32px;
    background: #E1306C;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.7);
    transition: 0.4s ease;
}

.insta-item:hover .insta-overlay{
    opacity: 1;
}

.insta-item:hover .insta-overlay i{
    transform: scale(1);
}

.grayscale-hover{
    filter: grayscale(100%) ;
    transition: 0.4s ease;
}

/* Remove dark/grayscale on hover */
.insta-item:hover .grayscale-hover{
    filter: grayscale(0%);
}
.icon-flowers-3 {
    position: absolute;
        top: -120px;
    right: 0;
}
.icon-flowers-3 {
    width: 344px;
    height: 907px;
    background-image: url(../images/flowers-3.png);
}
.icon-flowers-21 {
    width: 432px;
    height: 604px;
    background-image: url(../images/cta-flowers.png);
}
.icon-flowers-21 {
    position: absolute;
    bottom: 0;
    left: 0;
}
 .icon-flowers-3, .icon-flowers-21 {
        opacity: 0.3;
    }
#contact {
    position: relative;
    background: none;
    padding-bottom: 30px;
}
@media (max-width: 768px) {
    .hero-form-float{
                margin-top: -14px;
    }
    #portfolio .filter-controls{
        display: grid !important;
    }
    #portfolio .modern-grid {
        display: inline-table;
    }
    #portfolio .modern-grid .grid-item {
        margin-bottom: 10px;
    }
    #testimonials p{
        font-size: 28px !important;
    }
    #contact .modern-card.p-5{
        padding: 20px !important;
    }
    .contact-details h4{
        font-size: 18px;
    }
    section:nth-of-type(even){
        padding: 20px !important;
    }
    .navbar-toggler:focus{
        box-shadow: none !important;
    }
    .btn-modern{
        padding: 5px 12px;
    }
    .g-2{
        gap:20px
    }
}
.stats-icon{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ff2d55;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.instaText{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 20px;

}
.instaText p{
    margin-bottom:0px;
}
.instaImg{
    width: 40px !important;
    height: 40px !important;
}

/* Loader */
#site-loader {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s ease;
}

/* Wrapper */
.loader-wrapper {
    position: relative;
    width: 220px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Floral Image */
.loader-frame {
    width: 100%;
    animation: rotateLoader 10s linear infinite;
}

/* Content Center */
.loader-inner-content {
    position: absolute;
    text-align: center;
    z-index: 2;
}

.loader-inner-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #212529;
    letter-spacing: 3px;
}

.loader-inner-content p {
    font-size: 14px;
    color: #ff2d55;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Rotation Animation */
@keyframes rotateLoader {
    100% {
        transform: rotate(360deg);
    }
}

/* Hide Loader */
#site-loader.hide {
    opacity: 0;
    visibility: hidden;
}