/* CSS Variables */
:root {
    --color-bg: #0a0a0a;
    --color-bg-light: #151515;
    --color-text: #ffffff;
    --color-text-muted: #aaaaaa;
    --color-gold: #d4af37;
    --color-gold-hover: #e5c45e;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-fast: 0.3s ease;
    --transition-slow: 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--color-bg);
}

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

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

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
}
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background-color: var(--color-gold);
    margin: 1.5rem auto 0;
}

.section-desc {
    text-align: center;
    width: 100%;
    margin: 1.5rem auto 2rem;
}

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

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

p {
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
}

/* Layout Core */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
.section {
    padding: 6rem 0;
}
.bg-dark {
    background-color: var(--color-bg-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid transparent;
    transition: var(--transition-fast);
    cursor: pointer;
}
.btn-primary {
    background-color: var(--color-gold);
    color: var(--color-bg);
}
.btn-primary:hover {
    background-color: var(--color-gold-hover);
}
.btn-outline, .btn-secondary {
    background-color: transparent;
    border-color: var(--color-gold);
    color: var(--color-gold);
}
.btn-outline:hover, .btn-secondary:hover {
    background-color: var(--color-gold);
    color: var(--color-bg);
}

/* Links */
a {
    color: var(--color-text);
    text-decoration: none;
    transition: color var(--transition-fast);
}
a:hover {
    color: var(--color-gold);
}

/* Animations (Scroll) */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
.fade-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   Navbar
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    background: transparent;
    transition: background-color var(--transition-fast), padding var(--transition-fast), box-shadow var(--transition-fast);
}
.navbar.scrolled {
    background-color: rgba(10, 10, 10, 0.95);
    padding: 1rem 0;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-logo img {
    height: 120px; /* SVG scaling adjustment */
    width: auto;
    transition: transform var(--transition-fast);
}
.nav-logo:hover img {
    transform: scale(1.05);
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}
.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.secondary-logo img {
    height: 80px; /* Slightly smaller than main logo (120px) */
    width: auto;
    transition: transform var(--transition-fast);
}
.secondary-logo:hover img {
    transform: scale(1.05);
}
.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001; /* Above mobile menu */
}
.hamburger .line {
    width: 30px;
    height: 2px;
    background-color: var(--color-text);
    transition: var(--transition-fast);
}

/* Navbar Responsive */
@media (max-width: 992px) {
    .nav-right {
        gap: 1rem;
    }
    .secondary-logo img {
        height: 60px; /* Smaller on mobile */
    }
    .hamburger {
        display: flex;
    }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--color-bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        transition: right 0.4s ease-in-out;
    }
    .nav-links a {
        font-size: 1.5rem;
    }
    .nav-links.active {
        right: 0;
    }
    .hamburger.active .line:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active .line:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .line:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
}
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10,10,10,0.4) 0%, rgba(10,10,10,0.8) 100%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 2rem;
}
.hero-title {
    font-size: 5rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}
.hero-subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    color: var(--color-text-muted);
}
.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
}

/* =========================================
   About & Philosophy Sections
   ========================================= */
.about {
    background-color: var(--color-bg);
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: center;
    text-align: left;
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr 1.2fr;
    }
}

.about-image {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.05);
}

.about-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: top;
    display: block;
    aspect-ratio: 4/5;
}

.about-text p {
    margin-bottom: 2rem;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}
.philosophy-item {
    background: rgba(255, 255, 255, 0.02);
    padding: 3rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    text-align: center;
    transition: transform var(--transition-fast), border-color var(--transition-fast);
}
.philosophy-item:hover {
    transform: translateY(-10px);
    border-color: var(--color-gold);
}
.philosophy-item h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}
.philosophy-item p {
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
}
.philosophy-item ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-top: 1rem;
}
.philosophy-item ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    padding-left: 1.5rem;
    font-weight: 300;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
}
.philosophy-item ul li::before {
    content: '•';
    color: var(--color-gold);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}
.philosophy-item ul li:last-child {
    border-bottom: none;
}

/* =========================================
   Portfolio Section
   ========================================= */
.portfolio-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}
.filter-btn {
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    font-family: var(--font-body);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    padding: 0.5rem 1rem;
    transition: color var(--transition-fast);
    position: relative;
}
.filter-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background-color: var(--color-gold);
    transition: width var(--transition-fast);
}
.filter-btn.active, .filter-btn:hover {
    color: var(--color-gold);
}
.filter-btn.active::after, .filter-btn:hover::after {
    width: 100%;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    grid-auto-flow: dense;
    transition: opacity 0.3s ease;
}
.portfolio-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 4px;
    aspect-ratio: 4/5; /* Uniform aspect ratio */
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.portfolio-item:hover img {
    transform: scale(1.08); /* Slow zoom */
}
.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.4);
    opacity: 0;
    transition: opacity var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}
.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

/* Layout Full for Categories */
.portfolio-grid.layout-full {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
}

.portfolio-grid.layout-full .portfolio-item {
    width: 100%;
    max-width: 1000px;
    aspect-ratio: auto; /* Let it adopt the natural image aspect ratio */
    border-radius: 8px; /* Slightly softer for large view */
    background: transparent;
}

.portfolio-grid.layout-full .portfolio-item img {
    width: 100%;
    height: auto;
    object-fit: contain; /* Shows full composition without crop */
    max-height: 90vh; /* Optional constraint to fit on screen vertically */
    transform: none; /* Disable hover zoom for full size */
}

.portfolio-grid.layout-full .portfolio-item:hover img {
    transform: none;
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}
.lightbox.show {
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-img {
    max-width: 90%;
    max-height: 90vh;
    margin: auto;
    display: block;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s ease;
}
@keyframes zoomIn {
    from {transform: scale(0.9); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}
.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    transition: color var(--transition-fast);
}
.lightbox-close:hover {
    color: var(--color-gold);
}

/* =========================================
   Value & Services
   ========================================= */
.value-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.service-card {
    background-color: var(--color-bg-light);
    padding: 3rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform var(--transition-fast);
    text-align: center;
}
.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-gold);
}
.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-gold);
}

/* =========================================
   Testimonials & Education
   ========================================= */
.testimonials-carousel {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    padding: 3rem 4rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
}
.carousel-track {
    width: 100%;
    overflow: hidden;
}
.testimonial-slide {
    display: none;
    animation: fadeInSlide 0.4s ease-out;
}
.testimonial-slide.active {
    display: block;
}
@keyframes fadeInSlide {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 2.5rem;
    cursor: pointer;
    transition: color var(--transition-fast);
    z-index: 10;
    padding: 0.5rem;
}
.carousel-btn:hover {
    color: var(--color-gold);
}
.prev-btn {
    left: 10px;
}
.next-btn {
    right: 10px;
}
.testimonial-quote {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--color-gold);
}
.testimonial-author {
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.education-list {
    list-style: none;
    max-width: 700px;
    margin: 0 auto;
}
.education-list li {
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.2rem;
    position: relative;
}
.education-list li::before {
    content: '🏆';
    margin-right: 15px;
}
.education-list li:last-child {
    border-bottom: none;
}

/* =========================================
   Featured Video Section
   ========================================= */
.video-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.05);
}
.custom-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16/9;
    display: block;
}

/* =========================================
   Contact & Footer
   ========================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}
.contact-info h3 {
    font-size: 2rem;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
}
.contact-info p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}
.contact-info .social-links {
    margin-top: 2rem;
    display: flex;
    gap: 1.5rem;
}
.social-links a {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    color: var(--color-gold);
    border-bottom: 1px solid transparent;
}
.social-links a:hover {
    border-color: var(--color-gold);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition-fast), background var(--transition-fast);
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-gold);
    background: rgba(255,255,255,0.05);
}

.footer {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 4rem 0 2rem;
    text-align: center;
}
.footer-logo {
    height: 160px; /* SVG scaling adjustment */
    width: auto;
    margin-bottom: 2rem;
    opacity: 0.8;
}
.footer .social-links {
    justify-content: center;
    margin-bottom: 2rem;
}
.footer p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* =========================================
   WhatsApp Floating Button
   ========================================= */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.whatsapp-btn svg {
    width: 35px;
    height: 35px;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    color: white;
}

@media (max-width: 768px) {
    .whatsapp-btn {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
    .whatsapp-btn svg {
        width: 30px;
        height: 30px;
    }
}
