/* --- Global Styles & Imports --- */
@import url('https://fonts.cdnfonts.com/css/ica-rubrik-black');
@import url('https://fonts.cdnfonts.com/css/poppins');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; /* Enables the sliding effect when clicking nav links */
}

body {
    background-color: #f0f0f0;
    overflow-x: hidden;
}

/* --- Navigation Bar --- */
.navbar {
    position: fixed; /* Keeps nav visible while scrolling */
    top: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 1000;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar .logo {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 2px;
    font-family: 'ICA Rubrik', sans-serif;
}

.navbar .nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.navbar .nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: 0.3s;
}

.navbar .nav-links a:hover {
    color: #000;
    text-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* --- Banner / Home Section --- */
.banner {
    width: 100%;
    height: 100vh;
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Aligns text box to the left */
    padding-left: 10%;
}

/* 3D Slider Logic */
/* 3D Slider Logic - Shifted Right */
.banner .slider {
    position: absolute;
    width: 180px;
    height: 230px;
    top: 20%;
    /* Shifted from 50% to 65% to move the center of rotation to the right */
    left: calc(65% - 90px); 
    transform-style: preserve-3d;
    animation: autoRun 25s linear infinite;
    transform: perspective(1000px) rotateX(-10deg); 
    z-index: 1;
}

@keyframes autoRun {
    from {
        transform: perspective(1000px) rotateX(-10deg) rotateY(0deg);
    }
    to {
        transform: perspective(1000px) rotateX(-10deg) rotateY(360deg);
    }
}

.banner .slider .item {
    position: absolute;
    inset: 0;
    transform: 
        rotateY(calc((var(--position) - 1) * (360 / var(--quantity)) * 1deg)) 
        translateZ(350px); 
}

.banner .slider .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

/* --- Info Box (The part you wanted clearly visible) --- */
.info-box {
    position: relative;
    max-width: 400px;
    background: transparent; /* High opacity for readability */
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px); /* Strong glass effect */
    padding: 10px;
    border-radius: 25px;
    border:  1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
    z-index: 10; /* Ensures it stays above the slider background */
    text-align: left;
    font-family: 'Poppins', sans-serif;
}

.info-box h2 {
    font-family: 'ICA Rubrik', sans-serif;
    font-size: 2.8rem;
    color: #080808;
    line-height: 1.2;
    margin-bottom: 20px;
}

.info-box p {
    font-size: 1rem;
    color: #260d6c;
    line-height: 1.6;
    margin-bottom: 25px;
}

.btn {
    padding: 12px 30px;
    background-color: #25283B;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn:hover {
    background-color: #444;
    transform: translateY(-2px);
}

/* --- Gallery Section --- */
.gallery-section {
    padding: 100px 8%;
    background-color: #ffffff;
}

.section-title {
    font-family: 'ICA Rubrik', sans-serif;
    text-align: center;
    font-size: 3.5rem;
    margin-bottom: 60px;
    color: #25283B;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.grid-item {
    overflow: hidden;
    border-radius: 20px;
    height: 350px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
   
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    
}

.grid-item:hover img {
    transform: scale(1.1);
     border: black;
}

/* --- Enhanced About Section (Dark Lavender) --- */
.about-section {
    padding: 120px 10%;
    background: linear-gradient(135deg, #2e2a4d 0%, #1c1931 100%); /* Dark Lavender Gradient */
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-container {
    max-width: 1200px;
    display: flex;
    align-items: center;
    gap: 80px;
}

/* Image on the Left with Slide Animation */
.about-image-left {
    flex: 1;
    position: relative;
    animation: slideInLeft 1.5s ease-out;
}

.about-image-left img {
    width: 100%;
    max-width: 450px;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: rotate(-3deg); /* Slight tilt for style */
    transition: 0.5s ease;
}

.about-image-left img:hover {
    transform: rotate(0deg) scale(1.05);
}

/* Content Card on the Right */
.about-content-right {
    flex: 1.2;
    background: rgba(255, 255, 255, 0.05); /* Very subtle glass effect */
    padding: 50px;
    border-radius: 40px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.about-content-right h2 {
    font-family: 'ICA Rubrik', sans-serif;
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #d1c4e9; /* Light Lavender Text */
}

.about-content-right p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #b3b3cc;
    margin-bottom: 20px;
}

.about-content-right b {
    color: #ffffff;
}

/* Simple Slide-in Animation */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Mobile Fix */
@media (max-width: 992px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }
    .about-image-left img {
        max-width: 300px;
        margin-bottom: 30px;
    }
}
.footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 80px 0 30px;
    font-family: 'Poppins', sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-weight: 600;
    position: relative;
    color: #ffffff;
}

.footer-col h4::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    background-color: #ff4757;
    height: 2px;
    width: 40px;
}

.footer-logo {
    font-family: 'ICA Rubrik', sans-serif;
    letter-spacing: 1px;
}

.footer-col p {
    font-size: 0.9rem;
    color: #bbb;
    line-height: 1.6;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #bbb;
    text-decoration: none;
    transition: 0.3s;
    font-size: 0.9rem;
}

.footer-col ul li a:hover {
    color: #ffffff;
    padding-left: 8px;
}

.social-links a {
    display: inline-block;
    height: 40px;
    width: 40px;
    background-color: rgba(255,255,255,0.1);
    margin-right: 10px;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    transition: 0.3s;
    font-size: 0.8rem;
}

.social-links a:hover {
    background-color: #ff4757;
    transform: translateY(-5px);
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: #888;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .footer-row {
        flex-direction: column;
        text-align: center;
    }
    .footer-col h4::before {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Responsive Fixes */
@media screen and (max-width: 768px) {
    .navbar { padding: 20px; }
    .info-box { margin: 0 20px; padding: 30px; }
    .info-box h2 { font-size: 2rem; }
    .banner { justify-content: center; padding-left: 0; }
}