/* === RESET & BASE STYLES === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Lora', serif;
    line-height: 1.6;
    color: #0F172A;
    background-color: #ffffff;
    overflow-x: hidden;
}

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

/* === VARIABLES === */
:root {
    --primary-color: #0F172A;
    --accent-color: #E11D48;
    --gold-color: #FFD700;
    --white-color: #ffffff;
    --gray-light: #F8FAFC;
    --gray-medium: #64748B;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-light: 0 8px 32px rgba(15, 23, 42, 0.1);
    --shadow-medium: 0 16px 64px rgba(15, 23, 42, 0.15);
    --shadow-heavy: 0 24px 96px rgba(15, 23, 42, 0.2);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* === UTILITY CLASSES === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section__header {
    text-align: center;
    margin-bottom: 80px;
}

.section__title {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
}

.section__title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--gold-color));
    border-radius: 2px;
}

.section__subtitle {
    font-size: 1.2rem;
    color: var(--gray-medium);
    max-width: 600px;
    margin: 0 auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: linear-gradient(135deg, var(--accent-color), #BE185D);
    color: var(--white-color);
    box-shadow: var(--shadow-light);
}

.btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.btn--primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.btn--primary:hover::before {
    left: 100%;
}

.btn--full {
    width: 100%;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--shadow-light);
}

/* === HEADER === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
}

.header.scrolled {
    background: rgba(15, 23, 42, 0.95);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.nav__logo .logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white-color);
    text-decoration: none;
}

.nav__list {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav__link {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    color: var(--white-color);
    text-decoration: none;
    transition: var(--transition-smooth);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-color);
    transition: width 0.3s ease;
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.nav__toggle span {
    width: 25px;
    height: 3px;
    background: var(--white-color);
    transition: var(--transition-smooth);
}

/* === HERO SECTION === */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1E293B 50%, var(--primary-color) 100%);
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.pexels.com/photos/3747463/pexels-photo-3747463.jpeg?auto=compress&cs=tinysrgb&w=1920') center/cover;
    opacity: 0.1;
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero__title {
    font-family: 'Poppins', sans-serif;
    font-size: 5rem;
    font-weight: 700;
    color: var(--white-color);
    line-height: 1.1;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--white-color), var(--gold-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-family: 'Lora', serif;
    font-size: 1.5rem;
    color: var(--gold-color);
    margin-bottom: 20px;
    font-style: italic;
}

.hero__tagline {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    line-height: 1.5;
}

.hero__cta {
    margin-top: 20px;
}

.hero__visual {
    position: relative;
}

.hero__image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    transform: perspective(1000px) rotateY(-15deg) rotateX(10deg);
    transition: var(--transition-smooth);
}

.hero__image-container:hover {
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
}

.hero__image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
}

.hero__scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white-color);
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    z-index: 2;
}

.scroll-indicator {
    width: 2px;
    height: 40px;
    background: var(--gold-color);
    margin: 10px auto;
    border-radius: 1px;
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(10px); opacity: 0.5; }
}

/* === ABOUT SECTION === */
.about {
    background: var(--gray-light);
}

.about__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about__heading {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.about__description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-medium);
    margin-bottom: 25px;
}

.about__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat {
    text-align: center;
    padding: 30px 20px;
    background: var(--white-color);
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    transition: var(--transition-smooth);
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.stat__number {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.stat__label {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    color: var(--gray-medium);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.about__image {
    position: relative;
}

.about__img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
}

/* === SHOWCASE SECTION === */
.showcase {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1E293B 100%);
    color: var(--white-color);
}

.showcase .section__title {
    color: var(--white-color);
}

.showcase .section__subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.showcase__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.feature-card {
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transition: left 0.6s;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(225, 29, 72, 0.2);
}

.feature-card__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, var(--accent-color), var(--gold-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    transition: var(--transition-smooth);
}

.feature-card:hover .feature-card__icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card__title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white-color);
    margin-bottom: 20px;
}

.feature-card__description {
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
}

/* === GALLERY SECTION === */
.gallery {
    background: var(--white-color);
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.gallery__item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-smooth);
    aspect-ratio: 4/3;
}

.gallery__item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.gallery__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery__item:hover .gallery__image {
    transform: scale(1.1);
}

.gallery__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(15, 23, 42, 0.9));
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: var(--transition-smooth);
}

.gallery__item:hover .gallery__overlay {
    transform: translateY(0);
}

.gallery__title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white-color);
    margin-bottom: 5px;
}

.gallery__category {
    color: var(--gold-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* === TESTIMONIALS SECTION === */
.testimonials {
    background: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 100%);
    padding: 120px 0;
}

.testimonials__slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonials__track {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.testimonial {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateX(100px);
    transition: var(--transition-smooth);
}

.testimonial.active {
    opacity: 1;
    transform: translateX(0);
}

.testimonial__content {
    padding: 40px;
    text-align: center;
}

.testimonial__text {
    font-size: 1.3rem;
    line-height: 1.7;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-style: italic;
    position: relative;
}

.testimonial__text::before,
.testimonial__text::after {
    content: '"';
    font-size: 3rem;
    color: var(--accent-color);
    position: absolute;
    top: -10px;
}

.testimonial__text::before {
    left: -20px;
}

.testimonial__text::after {
    right: -20px;
}

.testimonial__author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.testimonial__avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gold-color);
}

.testimonial__name {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.testimonial__role {
    color: var(--gray-medium);
    font-size: 0.9rem;
}

.testimonials__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.testimonial__btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white-color);
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial__btn:hover {
    background: var(--accent-color);
    color: var(--white-color);
    transform: scale(1.1);
}

.testimonials__dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-medium);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.dot.active {
    background: var(--accent-color);
    transform: scale(1.2);
}

/* === CONTACT SECTION === */
.contact {
    background: var(--primary-color);
    color: var(--white-color);
}

.contact .section__title {
    color: var(--white-color);
}

.contact .section__subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.contact__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact__heading {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--gold-color);
}

.contact__text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact__detail {
    display: flex;
    align-items: center;
    gap: 15px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.contact__detail svg {
    color: var(--gold-color);
}

.contact__form {
    padding: 40px;
}

.form__group {
    position: relative;
    margin-bottom: 30px;
}

.form__input,
.form__textarea {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    color: var(--white-color);
    font-family: 'Lora', serif;
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.form__input:focus,
.form__textarea:focus {
    outline: none;
    border-color: var(--gold-color);
    background: rgba(255, 255, 255, 0.15);
}

.form__input::placeholder,
.form__textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form__textarea {
    min-height: 120px;
    resize: vertical;
}

.form__label {
    position: absolute;
    top: -10px;
    left: 20px;
    background: var(--primary-color);
    color: var(--gold-color);
    padding: 0 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* === FOOTER === */
.footer {
    background: var(--primary-color);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer__logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white-color);
}

.footer__tagline {
    color: var(--gold-color);
    font-style: italic;
    margin-top: 5px;
}

.footer__social {
    display: flex;
    gap: 20px;
}

.social__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white-color);
    transition: var(--transition-smooth);
    text-decoration: none;
}

.social__link:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(225, 29, 72, 0.3);
}

.footer__bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* === LIGHTBOX === */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.9);
    z-index: 2000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox__content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: var(--white-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
}

.lightbox__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    color: var(--white-color);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-smooth);
}

.lightbox__close:hover {
    background: var(--gold-color);
    transform: scale(1.1);
}

.lightbox__image {
    width: 100%;
    height: auto;
    display: block;
}

.lightbox__info {
    padding: 30px;
    text-align: center;
}

.lightbox__title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.lightbox__category {
    color: var(--accent-color);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* === ANIMATIONS === */
.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1024px) {
    .hero__content {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .about__content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .contact__content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .about__stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .nav__list {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 40px;
        transition: var(--transition-smooth);
    }
    
    .nav__list.active {
        left: 0;
    }
    
    .nav__toggle {
        display: flex;
    }
    
    .nav__toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav__toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav__toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero__title {
        font-size: 3.5rem;
    }
    
    .hero__subtitle {
        font-size: 1.2rem;
    }
    
    .hero__tagline {
        font-size: 1.1rem;
    }
    
    .section__title {
        font-size: 2.5rem;
    }
    
    .about__stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .showcase__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .gallery__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer__content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .testimonial__text::before,
    .testimonial__text::after {
        display: none;
    }
    
    .testimonial__author {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 80px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero__title {
        font-size: 2.8rem;
    }
    
    .section__title {
        font-size: 2rem;
    }
    
    .feature-card,
    .contact__form {
        padding: 30px 20px;
    }
    
    .btn {
        padding: 14px 28px;
        font-size: 0.9rem;
    }
    
    .hero__image-container {
        transform: none;
    }
    
    .hero__image-container:hover {
        transform: none;
    }
}

/* === PARALLAX EFFECT === */
@media (prefers-reduced-motion: no-preference) {
    .hero__bg {
        transform: translateZ(0);
        will-change: transform;
    }
}

/* === LOADING ANIMATION === */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading__spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 215, 0, 0.3);
    border-top: 4px solid var(--gold-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading.fade-out {
    opacity: 0;
    pointer-events: none;
}

/* === CUSTOM SCROLLBAR === */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-light);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--accent-color), var(--gold-color));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--gold-color), var(--accent-color));
}