@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');
@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.1/font/bootstrap-icons.css');

:root {
    --brand-navy: #001B48;
    --brand-red: #D3121E;
    --brand-yellow: #000000;
    --brand-beige: #f2efe9;
    --brand-green: #515847;
    --brand-dark: #222;
    --text-dark: #333;
    --text-light: #fff;
    --font-heading: 'Anton', sans-serif;
    --font-body: 'Inter', sans-serif;
}

.top-bar a {
    transition: color 0.3s ease;
}
.top-bar a:hover {
    color: var(--brand-red) !important;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
}

/* Navbar */
.navbar-custom {
    background-color: #ffffff !important;
    padding: 15px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.navbar-custom .nav-link {
    color: var(--brand-navy) !important;
    font-size: 0.95rem;
    margin: 0 10px;
    letter-spacing: 1px;
    font-weight: 500;
}
.navbar-custom .nav-link:hover, .navbar-custom .nav-link.fw-bold, .navbar-custom .nav-link.active {
    color: var(--brand-red) !important;
}
.navbar-custom .navbar-brand img {
    height: 50px; /* Slightly larger for white bg */
}
.navbar-custom .navbar-toggler {
    filter: invert(1);
}
.navbar-custom .btn-outline-light {
    color: var(--brand-navy) !important;
    border-color: var(--brand-navy) !important;
}
.navbar-custom .btn-outline-light:hover {
    background-color: var(--brand-navy) !important;
    color: #ffffff !important;
}

/* Hero Section */
.hero-exact {
    background-image: url('../images/banner-1.png');
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    position: relative;
}
.hero-exact::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.3);
}
.hero-exact .content {
    position: relative;
    z-index: 1;
}
.hero-exact h1 {
    font-size: 4.5rem;
    letter-spacing: 4px;
    line-height: 1.2;
    margin-bottom: 20px;
}
.hero-exact p {
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 30px;
}
.hero-exact .btn-custom-outline {
    border: 1px solid var(--text-light);
    color: var(--text-light);
    padding: 10px 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s;
}
.hero-exact .btn-custom-outline:hover {
    background: var(--text-light);
    color: var(--brand-navy);
}

@media (max-width: 768px) {
    .hero-exact h1 {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    .hero-exact p {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }
}

/* 2 Columns Categories */
.cat-blocks .cat-img {
    position: relative;
    height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 30px;
}
.cat-blocks .cat-img h3 {
    background: rgba(255,255,255,0.8);
    padding: 10px 30px;
    color: var(--brand-dark);
    font-size: 1.5rem;
    letter-spacing: 2px;
}

/* Section Dark Blue */
.section-yellow {
    background-color: #01112b;
    padding: 80px 0;
    color: var(--text-light);
}
.section-yellow h2 {
    color: var(--text-light);
}
.section-yellow p,
.section-yellow h4,
.section-yellow label {
    color: var(--text-light) !important;
    line-height: 1.8;
}
.btn-dark-custom {
    background: var(--brand-red);
    color: var(--text-light);
    border: none;
    padding: 10px 30px;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
    transition: 0.3s;
}
.btn-dark-custom:hover {
    background: #a00b14;
    color: white;
}

.form-custom .form-control {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 0;
    color: white;
    padding-left: 0;
    padding-right: 0;
}
.form-custom .form-control:focus {
    background: transparent;
    border-bottom: 1px solid white;
    box-shadow: none;
    color: white;
}

/* Section Beige */
.section-beige {
    background-color: var(--brand-beige);
    padding: 80px 0;
}
.section-beige h2 {
    color: var(--brand-navy);
}

/* Section Light Gray */
.section-light-gray {
    background-color: #f8f9fa;
    padding: 80px 0;
}
.section-light-gray h2 {
    color: var(--brand-navy);
}

/* Unified Section Titles and Testimonial Arrows */
section h2 {
    font-size: clamp(2rem, 5vw, 3rem) !important;
    text-align: center !important;
    margin-bottom: 50px !important;
    font-family: var(--font-heading) !important;
    font-weight: 700 !important;
    padding: 0 15px;
    
    display: flex;
    align-items: center;
    justify-content: center;
}

section h2::before,
section h2::after {
    content: "";
    flex: 1;
    border-bottom: 3px solid var(--brand-red);
    margin: 0 20px;
    max-width: 80px;
}

.testimonial-arrow {
    color: var(--brand-red);
    font-size: clamp(1.5rem, 5vw, 3rem);
}
.offer-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    margin-bottom: 20px;
}
.offer-card h4 {
    font-size: 1.8rem;
    color: var(--brand-navy);
}
.offer-card p {
    color: #555;
    font-size: 0.95rem;
}

/* Locations */
.location-img {
    position: relative;
    height: 250px;
    background-size: cover;
    background-position: center;
    margin-bottom: 20px;
}
.location-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: #3b7b8e;
    color: white;
    padding: 5px 15px;
    font-size: 0.9rem;
}

/* Form Yellow */
.form-custom input, .form-custom textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(0,0,0,0.3);
    border-radius: 0;
    padding: 10px 0;
    color: var(--brand-navy);
}
.form-custom input:focus, .form-custom textarea:focus {
    background: transparent;
    box-shadow: none;
    border-bottom: 2px solid var(--brand-navy);
}
.form-custom label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Section Green */
.section-green {
    background-color: var(--brand-green);
    padding: 80px 0;
    color: var(--text-light);
}
.section-green h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 50px;
}
.portfolio-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-bottom: 20px;
}

/* Footer Exact */
.footer-exact {
    background: #fff;
    padding: 60px 0;
    color: var(--text-dark);
}
.footer-exact h5 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 20px;
}
.footer-exact ul li {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

/* Catalog Overrides for Exact Design */
.catalog-header {
    background-image: url('https://images.unsplash.com/photo-1616486029423-aaa4789e8c9a?auto=format&fit=crop&q=80&w=1920') !important;
    background-color: transparent !important;
    background-size: cover !important;
    background-position: center !important;
    position: relative;
    padding: 100px 0 !important;
    text-align: center;
}
.catalog-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(9, 19, 30, 0.7); /* Dark navy overlay for contrast */
}
.catalog-header .container {
    position: relative;
    z-index: 1;
}
.catalog-header h1 {
    font-size: 3.5rem !important;
    color: var(--text-light) !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 0;
}
.catalog-header p {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.product-card-exact {
    background: #fff;
    border: none;
    border-radius: 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}
.product-card-exact:hover {
    transform: translateY(-5px);
}
.product-card-exact .product-img {
    height: 300px;
    object-fit: cover;
}
.product-card-exact .card-body {
    padding: 25px;
    text-align: center;
}
.product-card-exact h5 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--brand-navy);
}
.product-card-exact .price {
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--brand-yellow);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

/* Instagram Grid Continuous Sliding */
.insta-carousel-container {
    overflow: hidden;
    width: 100%;
    position: relative;
    white-space: nowrap;
}
.insta-grid {
    display: inline-flex;
    animation: instaScroll 35s linear infinite;
}
.insta-grid:hover {
    animation-play-state: paused;
}
.insta-grid .insta-item {
    flex: 0 0 auto;
    width: 50vw;
    height: auto;
    padding: 0 10px;
}
.insta-grid .insta-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
}
@media (min-width: 576px) { 
    .insta-grid .insta-item { width: 33.333vw; height: auto; } 
}
@media (min-width: 992px) { 
    .insta-grid .insta-item { width: 20vw; height: auto; } 
}
@keyframes instaScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.3s;
}
.whatsapp-float:hover {
    background-color: #128C7E;
    color: #FFF;
}
