/* =========================================
   VARIABLES & SETUP
   ========================================= */
:root {
    --primary-color: #FF8A4C; /* Orange from logo */
    --primary-dark: #E07135;
    --text-dark: #1A1A1A;
    --text-light: #5A5A5A;
    --bg-light: #FAFAFA;
    --bg-white: #FFFFFF;
    --bg-dark: #1A1A1A;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.08);
}

.nav-links a.active {
    color: var(--primary-color) !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-light);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.section {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

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

.bg-light {
    background-color: var(--bg-light);
}

.bg-dark {
    background-color: var(--bg-dark);
}

.text-white {
    color: var(--bg-white);
}

/* =========================================
   TYPOGRAPHY
   ========================================= */
.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.subtitle {
    display: block;
    color: var(--primary-color);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-block;
    padding: 12px 32px;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--bg-white);
    color: var(--text-dark);
}

.btn-secondary:hover {
    background-color: var(--bg-light);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.btn-link {
    color: var(--primary-color);
    font-weight: 600;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-link:hover {
    color: var(--primary-dark);
    gap: 12px;
}

.btn-block {
    display: block;
    width: 100%;
}

/* =========================================
   NAVIGATION
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
    background-color: transparent;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px; /* Slightly wider for luxury feel */
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 55px; /* Slightly larger */
    width: auto;
    object-fit: contain;
    transition: var(--transition);
    /* Removing the artificial background to let the image's own background/transparency shine */
}

.navbar.scrolled .logo img {
    height: 45px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem; /* Reduced gap to feel less scattered */
}

.nav-links a {
    font-size: 0.95rem; /* Slightly smaller font for sophistication */
    letter-spacing: 0.5px;
    font-weight: 500;
    color: var(--bg-white);
    position: relative;
    padding: 10px 5px;
}

.navbar.scrolled .nav-links a {
    color: var(--text-dark);
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.navbar.scrolled .btn-outline {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Hamburger Menu Styling */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px;
    border-radius: 8px;
    transition: var(--transition);
}

.navbar.scrolled .hamburger {
    background: rgba(0, 0, 0, 0.05);
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px 0;
    background-color: var(--text-dark);
    transition: 0.4s;
}

.navbar:not(.scrolled) .hamburger .bar {
    background-color: var(--bg-white);
}

.navbar.scrolled .hamburger .bar {
    background-color: var(--text-dark);
}

/* =========================================
   PAGE HEADER (for subpages)
   ========================================= */
.page-header {
    background-color: var(--bg-dark);
    padding: 150px 0 80px;
    text-align: center;
    color: var(--bg-white);
    position: relative;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.5) 100%);
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    color: var(--bg-white);
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.page-header p {
    color: rgba(255,255,255,0.8);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    height: 100vh;
    min-height: 600px;
    background-image: url('hero-bg.png');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    font-size: 4.5rem;
    color: var(--bg-white);
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

/* =========================================
   ABOUT SECTION
   ========================================= */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.about-image {
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-color);
    z-index: -1;
}

.about-image img {
    box-shadow: var(--shadow-md);
}

/* =========================================
   SERVICES SECTION
   ========================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background-color: var(--bg-white);
    padding: 3rem 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--primary-color);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(255, 138, 76, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

/* =========================================
   PORTFOLIO SECTION (Continuous Marquee)
   ========================================= */
.portfolio-carousel-wrapper {
    position: relative;
    padding: 2rem 0;
    overflow: hidden; /* Ensure nothing spills out */
}

.portfolio-carousel {
    display: flex;
    gap: 2rem;
    padding: 20px 0;
    width: max-content; /* Critical for marquee */
    animation: marquee 40s linear infinite;
}

.portfolio-carousel:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 1rem)); } /* Move half width minus half gap */
}

.portfolio-carousel .portfolio-item {
    flex: 0 0 450px;
    aspect-ratio: 4/3;
    border-radius: 12px;
}

/* Hide navigation buttons as marquee is automatic and continuous */
.carousel-nav {
    display: none;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: var(--transition);
}

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

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

.portfolio-info {
    transform: translateY(20px);
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-info {
    transform: translateY(0);
}

.portfolio-info h4 {
    color: var(--bg-white);
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.portfolio-info p {
    color: var(--primary-color);
    font-weight: 500;
}

/* =========================================
   PORTFOLIO GRID (Portfolio Page)
   ========================================= */
/* =========================================
   PORTFOLIO FILTERS
   ========================================= */
.portfolio-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 10px 24px;
    background: transparent;
    border: 1px solid #eee;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--bg-white);
    box-shadow: 0 4px 15px rgba(255, 138, 76, 0.3);
}

.portfolio-item.hide {
    transform: scale(0.8);
    opacity: 0;
    pointer-events: none;
    position: absolute; /* Take out of flow when hidden */
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.portfolio-grid .portfolio-item {
    aspect-ratio: 4/3;
    max-height: 280px;
    border-radius: 10px;
}

.portfolio-grid .portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-grid .portfolio-info h4 {
    font-size: 1.15rem;
}

.portfolio-grid .portfolio-info p {
    font-size: 0.85rem;
}

/* =========================================
   CURATOR NOTE SECTION
   ========================================= */
.curator-note {
    background-color: var(--bg-white);
    overflow: hidden;
}

.curator-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
    align-items: center;
}

.curator-image {
    position: relative;
}

.curator-image img {
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
}

.curator-image::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    z-index: -1;
}

.curator-text .quote {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.6;
    margin: 2rem 0;
    position: relative;
    padding-left: 2rem;
}

.curator-text .quote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.3;
    font-family: serif;
}

.curator-signature h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    letter-spacing: 1px;
}

.curator-signature p {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--text-light);
    letter-spacing: 2px;
}

/* =========================================
   CONTACT SECTION
   ========================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info p {
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.7);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.detail-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.detail-item h4 {
    color: var(--bg-white);
    margin-bottom: 0.25rem;
}

.detail-item p {
    margin-bottom: 0;
}

.contact-form {
    background-color: var(--bg-white);
    padding: 3rem;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 138, 76, 0.1);
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 50%, #111 100%);
    color: rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
}

.footer-accent {
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark), var(--primary-color));
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding: 4rem 0 3rem;
}

/* Brand Column */
.footer-brand {
    padding-right: 2rem;
}

.footer-logo {
    margin-bottom: 1.25rem;
}

.footer-logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer .social-links {
    display: flex;
    gap: 0.75rem;
}

.footer .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer .social-links a:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(255, 138, 76, 0.3);
}

/* Footer Links Columns */
.footer-links h4,
.footer-contact h4 {
    color: var(--bg-white);
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 0.6rem;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    transition: var(--transition);
    position: relative;
    padding-left: 0;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 6px;
}

/* Footer Contact */
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-contact-item span {
    font-size: 1rem;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact-item p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

/* Footer Bottom Bar */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 0;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
}

.footer-credit {
    color: rgba(255, 255, 255, 0.35) !important;
    font-size: 0.8rem !important;
}

/* =========================================
   ANIMATIONS
   ========================================= */
.fade-up, .slide-in-left, .slide-in-right {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up {
    transform: translateY(30px);
}

.slide-in-left {
    transform: translateX(-30px);
}

.slide-in-right {
    transform: translateX(30px);
}

.fade-up.visible, .slide-in-left.visible, .slide-in-right.visible {
    opacity: 1;
    transform: translate(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* =========================================
   TESTIMONIALS SECTION
   ========================================= */
.testimonials {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background-color: var(--bg-white);
    padding: 3rem 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(0,0,0,0.05);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.testimonial-quote {
    font-size: 2.5rem;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: 20px;
    left: 20px;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.author-info p {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 500;
}

/* =========================================
   FLOATING BUTTONS
   ========================================= */
.floating-btns {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.floating-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: var(--transition);
    cursor: pointer;
}

.whatsapp-btn {
    background-color: #25D366;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

.back-to-top {
    background-color: var(--primary-color);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
}

/* =========================================
   IMAGE LIGHTBOX
   ========================================= */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-content img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.lightbox-caption {
    color: white;
    text-align: center;
    margin-top: 1rem;
    font-family: var(--font-heading);
    font-size: 1.2rem;
}



