/* Modern Design System - ImageAI */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #6366f1; /* Indigo 500 */
    --primary-hover: #4f46e5;
    --secondary: #d946ef; /* Fuchsia 500 */
    --accent: #06b6d4; /* Cyan 500 */
    --bg-dark: #0b0f19; /* Deep space */
    --bg-card: rgba(30, 41, 59, 0.4);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-highlight: rgba(255, 255, 255, 0.15);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 8px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden !important;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    min-height: 100vh;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 60%, rgba(217, 70, 239, 0.12) 0%, transparent 40%);
}

a {
    text-decoration: none;
    transition: all 0.2s ease;
}

/* Navbar Modernization */
nav {
    background: transparent;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
    position: fixed; /* Fixed to stay top */
    top: 0;
    width: 100%; /* Full width */
    z-index: 1000;
    padding: 1.5rem 0;
    margin-bottom: 0 !important;
}

nav.scrolled {
    background: rgba(11, 15, 25, 0.75) !important; /* More transparent */
    backdrop-filter: blur(20px); /* Stronger blur */
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0; /* Shrink on scroll */
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1rem;
}

nav .logo img {
    height: 48px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.2));
}

nav ul li a.navAnchor, 
nav ul li .nav-item a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-md);
}

nav ul li a.navAnchor:hover,
nav ul li.active a.navAnchor,
nav ul li .nav-item a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.05);
}

.navOptions .special, 
.right .special,
.cta,
.main_art_button {
    background: linear-gradient(135deg, var(--primary), var(--secondary)) !important;
    color: white !important;
    border: none;
    border-radius: 50px;
    padding: 0.75rem 1.8rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.navOptions .special:hover, 
.right .special:hover,
.cta:hover,
.main_art_button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(217, 70, 239, 0.5);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(217, 70, 239, 0.5);
    color: white;
    filter: brightness(1.1);
}

.right .login {
    color: var(--text-main);
    font-weight: 600;
    margin-right: 1.5rem;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.right .login:hover {
    background: rgba(255,255,255,0.1);
    color: white;
    box-shadow: 0 0 15px rgba(255,255,255,0.1);
}

/* Visibility Utilities */
.hide-desktop {
    display: none;
}

/* Base Navbar Toggle (Hidden on Desktop) */
#openNavbar, #closeNavbar {
    display: none;
}
#openNavbar {
    font-size: 0;
    background: transparent;
    border: none;
    width: 30px;
}

#openNavbar svg rect {
    fill: white;
}

#closeNavbar {
    font-size: 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    position: absolute;
    top: 1rem;
    right: 1rem;
    cursor: pointer;
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .hide-desktop {
        display: block;
    }

    /* Hide Desktop Buttons */
    nav .right .special,
    nav .right .login {
        display: none !important;
    }

    nav .right {
        gap: 0;
    }

    #openNavbar {
        display: block;
    }

    nav .logo img {
        max-height: 35px !important;
    }
    
    .navOptions {
        position: fixed;
        top: 0;
        right: -300px;
        height: 100vh;
        width: 280px;
        background: rgba(11, 15, 25, 0.95);
        backdrop-filter: blur(20px);
        padding: 4rem 2rem;
        transition: right 0.3s ease;
        display: flex;
        flex-direction: column;
        border-left: 1px solid var(--glass-border);
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }
    
    nav.active .navOptions {
        right: 0;
    }

    #closeNavbar {
        display: block;
    }

    nav ul {
        flex-direction: column;
        width: 100%;
    }

    nav ul li {
        width: 100%;
        text-align: center;
    }

    nav .right a {
        display: none; /* Hide desktop specific auth buttons on mobile */
    }

    #openNavbar {
        display: block;
    }
}

/* Sections */
section {
    padding: 6rem 0;
    position: relative;
}

h1, h2, h3 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    background: linear-gradient(to right, #fff, #cbd5e1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Utilities */
.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero Section */
header#home {
    background: transparent;
    padding: 10rem 0 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Decorative blobs */
header#home::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
    z-index: -1;
    filter: blur(60px);
}

header#home h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(135deg, #fff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2.5rem;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Custom Radio Image Selectors */
.style-selector input[type="radio"] {
    display: none;
}
.style-selector label {
    cursor: pointer;
    transition: transform 0.2s;
    border-radius: var(--radius-md);
    overflow: hidden;
    display: block;
    position: relative;
    width: 120px;
    height: 120px;
    border: 2px solid transparent;
}
.style-selector label img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.style-selector label span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: white;
    font-size: 0.8rem;
    padding: 4px;
    text-align: center;
}
.style-selector input[type="radio"]:checked + label {
    border-color: var(--primary);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

/* Feature Cards */
.photorealistic-images .images img {
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    transition: transform 0.4s ease;
}

.photorealistic-images .images img:hover {
    transform: scale(1.03) rotate(1deg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    z-index: 2;
}

/* Pricing Cards */
.pricing__item {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: all 0.4s ease;
}

.pricing__item:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.pricing__item .title {
    color: var(--text-main);
}

.pricing__item .price span {
    color: white;
    font-weight: 700;
}

/* Gallery Cards */
.gallery-container .card {
    background: transparent;
    border: none;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    margin-bottom: 0; /* Bootstrap card has marginBottom sometimes */
}

.gallery-container .card img {
    border-radius: var(--radius-lg);
    transition: transform 0.5s ease;
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.gallery-container .card:hover img {
    transform: scale(1.1);
}

/* Footer */
footer {
    background: black;
    border-top: 1px solid var(--glass-border);
    padding: 5rem 0 2rem;
    color: var(--text-muted);
}

footer .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

footer .logo img {
    /* filter: grayscale(1) brightness(2); Removed filter to show original logo colors */
    opacity: 1; /* Reset opacity */
    margin-bottom: 1rem;
    max-width: 150px; /* Slightly smaller for elegance */
    width: auto; /* Maintain aspect ratio */
    height: auto;
    display: block;
}

footer h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-align: left;
    background: none;
    -webkit-text-fill-color: initial;
    padding: 0;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    margin-bottom: 0.8rem;
}

footer a {
    color: var(--text-muted);
}

/* Footer Layout Fixes */
footer a:hover {
    color: var(--primary);
}

footer .column {
    display: flex;
    flex-direction: column;
}

footer .column.desc {
    flex: 2;
    min-width: 300px;
    padding-right: 2rem;
}

footer .column.navOptions {
    flex: 3;
}

footer .column.contactUs {
    flex: 1;
    min-width: 200px;
}

footer .linkWrapper {
    display: flex;
    gap: 2rem; /* Reduced gap to prevent overlap */
    flex-wrap: wrap; 
}

footer .linkWrapper ul {
    min-width: 120px;
}

footer .contactUs span {
    display: block;
    margin-top: 1rem;
    font-size: 1.1rem;
}

/* Copyright Section */
.copyright {
    margin-top: 3rem !important;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between !important;
    font-size: 0.9rem;
}

.copyright div {
    display: flex;
    gap: 1.5rem;
}

.copyright a {
    color: var(--text-muted);
}

/* Mobile Footer */
@media (max-width: 768px) {
    footer .container {
        flex-direction: column;
        gap: 3rem;
    }
    
    footer .linkWrapper {
        flex-direction: column;
        gap: 2rem;
    }
    
    .copyright {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        align-items: center;
    }
}

/* Legacy Support (About Us, etc) */
.sec-title {
    margin-bottom: 2rem;
}

.sec-title .title {
    display: block;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.text {
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.image-column img {
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    max-width: 100%;
}


/* Reviews / Owl Carousel */
.owl-carousel .item.card {
    background: var(--bg-card) !important; /* Override Bootstrap .card white bg */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin: 1rem 0;
    transition: transform 0.3s ease;
}

.owl-carousel .item:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.owl-carousel .item h5 {
    color: white;
    font-weight: 600;
}

.owl-carousel .item small {
    color: var(--text-muted);
}

.owl-carousel .item .text-warning {
    color: #fbbf24 !important; /* Amber 400 */
    margin-bottom: 1rem;
}

.owl-carousel .item p {
    color: #e2e8f0;
    font-style: italic;
    line-height: 1.6;
}

/* Dots */
.owl-theme .owl-dots .owl-dot span {
    background: rgba(255,255,255,0.2) !important;
    width: 10px;
    height: 10px;
    margin: 5px 7px;
}

.owl-theme .owl-dots .owl-dot.active span, 
.owl-theme .owl-dots .owl-dot:hover span {
    background: var(--primary) !important;
    transform: scale(1.2);
}

/* Animations */
/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* AUTH PAGE STYLES (Login/Register) */
.login-38 {
    min-height: 100vh;
    display: flex;
    overflow-x: hidden; /* Only hide horizontal overflow */
    overflow-y: auto;   /* Allow vertical scroll */
}

.login-38 .container-fluid, 
.login-38 .row {
    min-height: 100vh; /* changed from height to min-height */
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Form Side */
.form-section {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-dark);
    padding: 3rem;
    position: relative;
    z-index: 10;
}

.form-inner {
    width: 100%;
    max-width: 450px;
    text-align: center; /* Centers Logo and Title */
}

.form-inner h3 {
    margin: 1.5rem 0; /* Reduced margin */
    font-size: 2rem;
    color: white;
}

.thembo {
    color: var(--secondary) !important;
    text-decoration: underline;
}

.form-check-label {
    color: var(--text-muted);
}

.form-inner p {
    color: var(--text-muted);
}

.form-inner a {
    color: var(--primary);
}

/* Image Side */
.bg-img {
    background-color: #000;
    position: relative;
    overflow: hidden;
}

.bg-img img {
    opacity: 0.8;
}

/* Form Elements */
.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: white !important;
    padding: 0.8rem 1.2rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    background: rgba(255,255,255,0.08);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    color: white;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary)) !important;
    border: none;
    padding: 0.8rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
}

/* Social Login Button */
a.btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: white !important;
    color: #333 !important;
    margin-bottom: 1.5rem;
}

a.btn-primary:hover {
    background: #f1f5f9 !important;
    transform: translateY(-2px);
}

/* Separator */
.extra-login {
    position: relative;
    text-align: center;
    margin-bottom: 2rem;
}

.extra-login span {
    background: var(--bg-dark);
    padding: 0 1rem;
    color: var(--text-muted);
    position: relative;
    z-index: 1;
}

.extra-login::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--glass-border);
    z-index: 0;
}

/* Checkbox */
.form-check-input {
    background-color: transparent;
    border-color: var(--glass-border);
}
.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

@media (max-width: 991px) {
    .login-38 .col-lg-6.bg-img {
        display: none;
    }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}
