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

:root {
    --primary-color: #FF6B00;
    --secondary-color: #1E1E1E;
    --accent-color: #1E88E5;
    --text-color: #333;
    --light-gray: #f8f9fa;
    --white: #ffffff;
    --black: #000000;
    --gradient-primary: linear-gradient(135deg, #FF6B00 0%, #FF8A00 100%);
    --gradient-dark: linear-gradient(135deg, #1E1E1E 0%, #333 100%);
    --shadow: 0 10px 30px rgba(0,0,0,0.1);
    --shadow-hover: 0 20px 40px rgba(0,0,0,0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 0 auto 2rem;
    border-radius: 2px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    background: white;
    border-radius: 50%;
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section - Design Moderno */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, 
            #1e1e1e 0%, 
            #2a2a2a 25%, 
            #333333 50%, 
            #2a2a2a 75%, 
            #1e1e1e 100%),
        radial-gradient(ellipse at center, rgba(255, 107, 0, 0.04) 0%, transparent 70%);
    background-size: 400% 400%, 100% 100%;
    animation: gradientShift 15s ease infinite;
}

.geometric-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 107, 0, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 80% 20%, rgba(255, 138, 0, 0.06) 0%, transparent 55%),
        radial-gradient(circle at 40% 40%, rgba(255, 107, 0, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 60% 70%, rgba(255, 107, 0, 0.03) 0%, transparent 45%),
        radial-gradient(circle at 30% 30%, rgba(255, 138, 0, 0.05) 0%, transparent 40%);
    opacity: 0.7;
}

.floating-logos {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-logo {
    position: absolute;
    opacity: 0.025;
    animation: float 20s ease-in-out infinite;
}

.floating-logo img {
    width: 150px;
    height: 150px;
    filter: brightness(2);
    border-radius: 50%;
    object-fit: cover;
}

.floating-logo-1 {
    top: 8%;
    left: 12%;
    animation-delay: 0s;
}

.floating-logo-2 {
    top: 65%;
    right: 8%;
    animation-delay: -7s;
}

.floating-logo-3 {
    bottom: 15%;
    left: 70%;
    animation-delay: -14s;
}

.floating-logo-4 {
    top: 25%;
    right: 5%;
    animation-delay: -21s;
}

.floating-logo-5 {
    bottom: 8%;
    left: 35%;
    animation-delay: -3s;
}

.floating-logo-6 {
    top: 12%;
    left: 75%;
    animation-delay: -10s;
}

.floating-logo-7 {
    top: 80%;
    right: 45%;
    animation-delay: -17s;
}

.floating-logo-8 {
    top: 45%;
    left: 2%;
    animation-delay: -24s;
}

.logo-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 107, 0, 0.5);
    border-radius: 50%;
    animation: particleFloat 8s linear infinite;
    box-shadow: 0 0 8px rgba(255, 107, 0, 0.2);
}

.particle-1 { left: 20%; animation-delay: 0s; }
.particle-2 { left: 40%; animation-delay: -2s; }
.particle-3 { left: 60%; animation-delay: -4s; }
.particle-4 { left: 80%; animation-delay: -6s; }
.particle-5 { left: 10%; animation-delay: -1s; }

.hero-content {
    text-align: center;
    color: var(--white);
    z-index: 1;
    padding: 0 20px;
    max-width: 800px;
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-logo {
    position: relative;
    margin-bottom: 2rem;
    animation: logoEntrance 2s ease-out;
    width: 220px;
    height: 220px;
    margin: 0 auto 2rem;
}

.logo-slider {
    position: relative;
    width: 220px;
    height: 220px;
    margin: 0 auto;
}

.hero-logo-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8) rotate(180deg);
    width: 200px;
    height: 200px;
    object-fit: cover;
    object-position: center;
    padding: 0;
    transition: all 0.8s ease;
    opacity: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo-img.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.25) 0%, rgba(255, 138, 0, 0.15) 30%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
    z-index: 1;
}



.hero-logo-img:hover {
    transform: translate(-50%, -50%) scale(1.1) rotate(5deg);
    padding: 0;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: titleSlideUp 1.5s ease-out 0.5s both;
}

.title-part {
    display: inline-block;
    color: var(--white);
}

.title-highlight {
    display: inline-block;
    background: linear-gradient(45deg, #FF6B00, #FF8A00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShine 3s ease-in-out infinite, focusBlur 4s ease-in-out infinite;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: subtitleFadeIn 1.5s ease-out 1s both;
    font-weight: 300;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    animation: featuresFadeIn 1.5s ease-out 1.5s both;
}

.hero-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    opacity: 0.9;
    transition: all 0.3s ease;
}

.hero-feature:hover {
    opacity: 1;
    transform: translateY(-5px);
}

.hero-feature i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.hero-feature span {
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
}

.cta-button-enhanced {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(45deg, #FF6B00, #FF8A00);
    color: var(--white);
    text-decoration: none;
    padding: 18px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 
        0 15px 35px rgba(255, 107, 0, 0.4),
        0 5px 15px rgba(0,0,0,0.1);
    animation: buttonSlideUp 1.5s ease-out 2s both;
    position: relative;
    overflow: hidden;
}

.button-icon {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.button-text {
    transition: transform 0.3s ease;
}

.button-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: rotate(45deg) translateX(-100%);
    transition: transform 0.6s ease;
}

.cta-button-enhanced:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 25px 50px rgba(255, 107, 0, 0.6),
        0 10px 25px rgba(0,0,0,0.2);
}

.cta-button-enhanced:hover .button-icon {
    transform: scale(1.2);
}

.cta-button-enhanced:hover .button-text {
    transform: translateX(5px);
}

.cta-button-enhanced:hover .button-shine {
    transform: rotate(45deg) translateX(100%);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    text-align: center;
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--white);
    border-radius: 12px;
    margin: 0 auto 10px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}

.scroll-indicator span {
    font-size: 0.8rem;
    opacity: 0.8;
    font-weight: 500;
}

/* Sections */
section {
    padding: 80px 0;
    position: relative;
}

.section-header {
    margin-bottom: 4rem;
}

/* About Section */
.about {
    background: var(--light-gray);
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        rgba(255, 107, 0, 0.1) 0%,
        rgba(255, 138, 0, 0.05) 50%,
        rgba(30, 30, 30, 0.1) 100%
    );
    z-index: 2;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.about-image::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 70%
    );
    transform: rotate(45deg) translateX(-100%);
    transition: transform 0.8s ease;
    z-index: 3;
}

.about-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.about-image:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.about-image:hover::before {
    opacity: 1;
}

.about-image:hover::after {
    transform: rotate(45deg) translateX(100%);
}

.about-image:hover .about-img {
    transform: scale(1.05);
    filter: brightness(1.1) contrast(1.1) saturate(1.2);
}

/* Efeito de borda animada */
.about-image {
    position: relative;
}

.about-image::before {
    border: 2px solid transparent;
    border-radius: 20px;
    background: linear-gradient(45deg, var(--primary-color), transparent, var(--primary-color)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: exclude;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
}

/* Schedule Section */
.schedule {
    background: var(--secondary-color);
    color: var(--white);
}

.schedule .section-title {
    color: var(--white);
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.schedule-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.schedule-card:hover {
    transform: translateY(-10px);
    background: var(--gradient-primary);
}

.schedule-day {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.schedule-time {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.schedule-type {
    font-size: 1.1rem;
    opacity: 0.9;
}

.schedule-time-multi {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.time-slot {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.type-inline {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Professor Section */
.professor {
    background: var(--light-gray);
}

.professor-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.professor-name {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.professor-belt {
    background: var(--gradient-primary);
    color: var(--white);
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.professor-bio {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.professor-achievements {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.achievement {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.achievement i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.professor-images {
    position: relative;
}

.professor-gallery {
    position: relative;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
}

.professor-gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        rgba(255, 107, 0, 0.1) 0%,
        rgba(255, 138, 0, 0.05) 50%,
        rgba(30, 30, 30, 0.1) 100%
    );
    z-index: 2;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.professor-gallery::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 70%
    );
    transform: rotate(45deg) translateX(-100%);
    transition: transform 0.8s ease;
    z-index: 3;
}

.professor-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: all 0.5s ease;
    z-index: 1;
}

.professor-img.active {
    opacity: 1;
}

.professor-gallery:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.professor-gallery:hover::before {
    opacity: 1;
}

.professor-gallery:hover::after {
    transform: rotate(45deg) translateX(100%);
}

.professor-gallery:hover .professor-img.active {
    transform: scale(1.05);
    filter: brightness(1.1) contrast(1.1) saturate(1.2);
}

.gallery-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 1rem;
}

.gallery-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-btn.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Gallery Section */
.gallery {
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 107, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.gallery-overlay i {
    color: var(--white);
    font-size: 2rem;
}

/* Location Section */
.location {
    background: var(--light-gray);
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

.location-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.location-card:hover {
    transform: translateY(-5px);
}

.location-card i {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.location-card h3 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.location-map {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.location-map iframe {
    width: 100%;
    height: 400px;
}

/* Contact Section */
.contact {
    background: var(--secondary-color);
    color: var(--white);
}

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

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

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-card {
    background: var(--secondary-color);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    color: var(--white);
    text-decoration: none;
    display: block;
    cursor: pointer;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    background: linear-gradient(135deg, var(--secondary-color) 0%, #333 100%);
}

.contact-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-card h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
}

.contact-card:hover .contact-link {
    color: var(--white);
}

.cta-button-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: var(--gradient-primary);
    color: var(--white);
    text-decoration: none;
    padding: 18px 35px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    text-align: center;
}

.cta-button-large:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.cta-button-large i {
    font-size: 1.5rem;
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    background: white;
    border-radius: 50%;
    padding: 4px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo h3 {
    color: var(--white);
}

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

.footer-info p {
    margin-bottom: 0.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}



/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    max-height: 80%;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.lightbox-close:hover {
    color: var(--primary-color);
}

/* Animations */
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(5deg); }
    66% { transform: translateY(10px) rotate(-3deg); }
}

@keyframes logoEntrance {
    0% { 
        opacity: 0; 
        transform: scale(0.5) rotate(-180deg); 
    }
    100% { 
        opacity: 1; 
        transform: scale(1) rotate(0deg); 
    }
}

@keyframes titleSlideUp {
    0% { 
        opacity: 0; 
        transform: translateY(50px); 
    }
    100% { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

@keyframes subtitleFadeIn {
    0% { 
        opacity: 0; 
        transform: translateY(30px); 
    }
    100% { 
        opacity: 0.95; 
        transform: translateY(0); 
    }
}

@keyframes featuresFadeIn {
    0% { 
        opacity: 0; 
        transform: translateY(40px); 
    }
    100% { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

@keyframes buttonSlideUp {
    0% { 
        opacity: 0; 
        transform: translateY(50px); 
    }
    100% { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

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

@keyframes focusBlur {
    0%, 100% { 
        filter: blur(0px);
        opacity: 1;
    }
    25% { 
        filter: blur(1px);
        opacity: 0.8;
    }
    50% { 
        filter: blur(0px);
        opacity: 1;
    }
    75% { 
        filter: blur(0.5px);
        opacity: 0.9;
    }
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes scrollWheel {
    0% { top: 8px; opacity: 1; }
    50% { top: 18px; opacity: 0.5; }
    100% { top: 8px; opacity: 1; }
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-10vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes pulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.8;
    }
}

@keyframes logoSlideIn {
    0% {
        opacity: 0;
        transform: scale(0.5) rotate(180deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

@keyframes logoSlideOut {
    0% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
    100% {
        opacity: 0;
        transform: scale(0.5) rotate(-180deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--secondary-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .logo {
        width: 45px;
        height: 45px;
        padding: 2px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .footer-logo-img {
        width: 70px;
        height: 70px;
        padding: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-logo {
        width: 180px;
        height: 180px;
        margin: 0 auto 2rem;
    }
    
    .logo-slider {
        width: 180px;
        height: 180px;
    }
    
    .hero-logo-img {
        width: 160px;
        height: 160px;
        padding: 0;
    }
    
    .logo-glow {
        width: 220px;
        height: 220px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }

    .about-content,
    .professor-content,
    .location-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .schedule-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-logo {
        order: 1;
    }
    
    .footer-info {
        order: 2;
    }
    
    .footer-social {
        order: 3;
        justify-content: center;
    }
    
    .floating-logo img {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        object-fit: cover;
    }
    
    .cta-button-enhanced {
        padding: 15px 25px;
        font-size: 1rem;
    }
    
    .cta-button-large {
        padding: 16px 30px;
        font-size: 1.2rem;
        border-radius: 22px;
    }
}

@media (max-width: 480px) {
    .logo {
        width: 40px;
        height: 40px;
        padding: 1px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .footer-logo-img {
        width: 60px;
        height: 60px;
        padding: 3px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .container {
        padding: 0 15px;
    }

    .hero-logo {
        width: 160px;
        height: 160px;
        margin: 0 auto 2rem;
    }
    
    .logo-slider {
        width: 160px;
        height: 160px;
    }
    
    .hero-logo-img {
        width: 180px;
        height: 180px;
        padding: 0;
    }
    
    .logo-glow {
        width: 200px;
        height: 200px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .floating-logo img {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        object-fit: cover;
    }
    
    .particle {
        width: 3px;
        height: 3px;
    }

    .hero-features {
        gap: 1rem;
    }

    .hero-feature i {
        font-size: 1.5rem;
    }

    .hero-feature span {
        font-size: 0.8rem;
    }

    .section-title {
        font-size: 2rem;
    }

    section {
        padding: 60px 0;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-button-large {
        padding: 14px 25px;
        font-size: 1.1rem;
        border-radius: 20px;
        gap: 12px;
    }
}

/* Placeholder Styles */
.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.professor-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.professor-img.active {
    opacity: 1;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.placeholder-content {
    text-align: center;
    color: #666;
    padding: 2rem;
}

.placeholder-content i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.placeholder-content p {
    font-size: 1.1rem;
    font-weight: 500;
}

.lightbox-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 400px;
    background: #f0f0f0;
    border-radius: 10px;
}

.lightbox-placeholder i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.lightbox-placeholder p {
    font-size: 1.2rem;
    color: #666;
}

 
 