:root {
    --gold-primary: #d4af37;
    --gold-accent: #b8860b;
    --dark-bg: #1a1a1a;
    --light-bg: #fdfdfd;
    --oswald: 'Oswald', sans-serif;
    --montserrat: 'Montserrat', sans-serif;
}

body {
    font-family: var(--montserrat);
    color: #333;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.navbar-brand {
    font-family: var(--oswald);
    font-weight: 700;
    letter-spacing: 1px;
}

/* Navbar Refining */
.navbar {
    padding: 10px 0;
    background: #ffffff !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.navbar .nav-link {
    color: #333 !important;
    font-weight: 500;
}

/* Parallax Background for Hero */
.hero-swiper {
    height: calc(100vh - 70px);
    /* Adjust based on navbar height */
    min-height: 500px;
}

.parallax-bg {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Basic CSS parallax */
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 120px;
}

.slide-content {
    color: white;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.2);
    padding: 2rem;
    border-radius: 10px;
}

/* Section Padding */
.section-padding {
    padding: 100px 0;
}

/* Portfolio Cards - Photography Look */
.photo-card {
    transition: transform 0.3s ease;
    overflow: hidden;
    background: #fff;
    padding: 10px;
    /* Frame look */
}

.photo-card img {
    border: 1px solid #eee;
    transition: transform 0.5s ease;
}

.photo-card:hover {
    transform: translateY(-5px);
}

.photo-card:hover img {
    transform: scale(1.05);
}

/* Portfolio Tabs - Bootstrap Custom */
#portfolioTabs .nav-link {
    color: #555;
    border: none;
    font-weight: 600;
    margin: 0 5px;
}

#portfolioTabs .nav-link.active {
    background-color: var(--gold-primary);
    color: white;
}

/* Services Icons */
.service-icon {
    color: var(--gold-primary);
    margin-bottom: 20px;
    display: inline-block;
}

/* Contact Window with Parallax */
.parallax-window {
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 600px;
}

.contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    /* Lighter overlay for a clearer look */
    z-index: 0;
}

.z-1 {
    z-index: 1;
}

.contact-form-glass {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.contact-info-list li,
#contact h2.display-4 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    /* Black shadow for visibility */
}

.btn-gold {
    background: var(--gold-primary);
    color: white;
}

.btn-gold:hover {
    background: var(--gold-accent);
    color: white;
}

.text-gold {
    color: var(--gold-primary);
}

/* Responsive fixes */
@media (max-width: 768px) {

    .parallax-bg,
    .parallax-window {
        background-attachment: scroll;
        /* Disable parallax on mobile for performance */
        padding-bottom: 60px;
    }

    .display-1 {
        font-size: 3rem;
    }

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

/* Pagination Styling */
.pagination-container {
    gap: 10px;
}

.page-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--gold-primary);
    background: transparent;
    color: var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    font-family: var(--oswald);
    text-transform: uppercase;
}

.page-btn:hover {
    background: var(--gold-primary);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.page-btn.active {
    background: var(--gold-primary);
    color: white;
    border-color: var(--gold-primary);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.page-btn.prev-next {
    width: auto;
    padding: 0 20px;
    border-radius: 30px;
}

.page-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    border-color: #ccc;
    color: #ccc;
}


/* GLightbox Custom Styling */
.goverlay {
    background: rgba(0, 0, 0, 0.98) !important;
    backdrop-filter: blur(15px);
}

.gslide-description {
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent) !important;
    padding: 20px !important;
    max-width: 100% !important;
    width: 100% !important;
}

.gslide-title {
    font-family: var(--oswald) !important;
    color: var(--gold-primary) !important;
    text-transform: uppercase;
    letter-spacing: 2px !important;
    font-size: 1.2rem !important;
    border-bottom: 2px solid var(--gold-primary);
    padding-bottom: 5px !important;
    margin-bottom: 10px !important;
    display: inline-block;
}

.gslide-desc {
    font-family: var(--montserrat) !important;
    color: #fff !important;
    font-size: 0.9rem !important;
    font-style: italic;
    line-height: 1.4 !important;
    opacity: 0.95;
}

.gnext,
.gprev {
    background: rgba(212, 175, 55, 0.15) !important;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50% !important;
    width: 70px !important;
    height: 70px !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.gnext:hover,
.gprev:hover {
    background: var(--gold-primary) !important;
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.gnext svg path,
.gprev svg path {
    fill: white !important;
}

.gclose {
    background: var(--gold-primary) !important;
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
    transition: all 0.3s ease !important;
}

.gclose:hover {
    transform: rotate(90deg);
}

.gclose svg path {
    fill: white !important;
}

/* Lightbox Category Badge (Creative addition) */
.glb-category-badge {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    color: var(--gold-primary);
    font-family: var(--oswald);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 1.2rem;
    pointer-events: none;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
    border-bottom: 1px solid var(--gold-primary);
    background: rgba(0,0,0,0.4);
    padding: 5px 15px;
    border-radius: 20px;
}

@media (max-width: 768px) {
    .glb-category-badge {
        font-size: 1rem;
        top: 15px;
        letter-spacing: 2px;
    }
}

.footer-logo-responsive {
    width: auto !important;
    max-width: 160px !important;
    /* Even smaller for absolute safety */
    max-height: 50px !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto 20px auto !important;
}

@media (min-width: 992px) {
    .footer-logo-responsive {
        width: 400px;
        max-width: 400px;
        max-height: none;
    }
}

/* Highly Creative Category Cards */
.category-card {
    position: relative;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.3);
}

.category-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-color: #222; /* Fallback for slow loading on mobile */
    transition: transform 0.6s ease;
}

.category-card:hover .category-card-bg {
    transform: scale(1.1);
}

.category-card-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 30px;
    color: white;
    text-align: center;
    transition: background 0.4s ease;
}

.category-card:hover .category-card-content {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.category-icon {
    font-size: 3rem;
    color: var(--gold-primary);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.category-card:hover .category-icon {
    transform: translateY(0);
    opacity: 1;
}

.category-card h3 {
    margin: 0;
    font-size: 2.2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.category-card .btn {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    border-radius: 30px;
    padding: 8px 25px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    transform: translateY(20px);
    opacity: 0;
}

.category-card:hover .btn {
    transform: translateY(0);
    opacity: 1;
    background: var(--gold-primary);
    color: white;
}

/* Mobile Responsiveness & Touch Devices for Category Cards */
@media (hover: none),
(max-width: 991px) {
    .category-card {
        height: 250px;
    }

    .category-card-content {
        background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.3) 100%);
    }

    .category-icon {
        transform: translateY(0);
        opacity: 1;
        font-size: 2.5rem;
        margin-bottom: 10px !important;
    }

    .category-card h3 {
        font-size: 1.8rem;
    }

    .category-card .btn {
        transform: translateY(0);
        opacity: 1;
        background: var(--gold-primary);
        color: white;
        padding: 6px 20px;
        font-size: 0.9rem;
    }
}