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

:root {
    --primary: #ff1493;
    --secondary: #ff69b4;
    --accent: #00d4ff;
    --dark: #0a0a0a;
    --darker: #000000;
    --light: #fff;
    --gray: #1a1a1a;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Gilroy', 'Montserrat', sans-serif;
    color: var(--light);
    background: var(--dark);
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: -1;
    transition: background-image 2s ease-in-out;
}

/* Floating Background Icons */
.floating-icons {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.floating-icon {
    position: absolute;
    font-size: 2.5rem;
    opacity: 0.08;
    animation: float-infinite 25s infinite ease-in-out;
}

@keyframes float-infinite {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-40px) rotate(90deg); }
    50% { transform: translateY(0) rotate(180deg); }
    75% { transform: translateY(40px) rotate(270deg); }
}

.floating-icon:nth-child(1) { left: 5%; top: 10%; animation-delay: 0s; font-size: 3rem; }
.floating-icon:nth-child(2) { left: 85%; top: 5%; animation-delay: 2s; font-size: 2rem; }
.floating-icon:nth-child(3) { left: 45%; top: 50%; animation-delay: 4s; font-size: 2.5rem; }
.floating-icon:nth-child(4) { left: 15%; top: 75%; animation-delay: 6s; font-size: 3rem; }
.floating-icon:nth-child(5) { left: 75%; top: 65%; animation-delay: 8s; font-size: 2rem; }
.floating-icon:nth-child(6) { left: 25%; top: 35%; animation-delay: 10s; font-size: 2.5rem; }
.floating-icon:nth-child(7) { left: 92%; top: 45%; animation-delay: 12s; font-size: 2rem; }
.floating-icon:nth-child(8) { left: 10%; top: 12%; animation-delay: 14s; font-size: 3rem; }
.floating-icon:nth-child(9) { left: 60%; top: 20%; animation-delay: 16s; font-size: 2.5rem; }
.floating-icon:nth-child(10) { left: 35%; top: 80%; animation-delay: 18s; font-size: 2rem; }
.floating-icon:nth-child(11) { left: 80%; top: 85%; animation-delay: 20s; font-size: 3rem; }
.floating-icon:nth-child(12) { left: 50%; top: 15%; animation-delay: 22s; font-size: 2.5rem; }
.floating-icon:nth-child(13) { left: 20%; top: 55%; animation-delay: 3s; font-size: 2rem; }
.floating-icon:nth-child(14) { left: 70%; top: 30%; animation-delay: 7s; font-size: 2.5rem; }
.floating-icon:nth-child(15) { left: 40%; top: 70%; animation-delay: 11s; font-size: 3rem; }

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    position: relative;
    z-index: 1;
}

/* Navbar */
.navbar {
    background: transparent;
    padding: 2.2rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.441);
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    box-shadow: 0 4px 30px rgba(255, 20, 147, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--light);
}

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

.nav-menu a {
    color: var(--light);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary);
}

.btn-login, .btn-admin {
    background: var(--primary);
    color: var(--light);
    padding: 0.7rem ;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid #ff06b452;
    transition: all 0.3s;
}

.btn-login:hover, .btn-admin:hover {
    background: transparent;
    color: var(--primary);
    transform: translateY(-2px);
}

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

.hamburger .bar {
    width: 28px;
    height: 2px;
    background: var(--light);
    transition: all 0.3s;
}

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

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

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}

.hero-content {
    text-align: center;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -3px;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.hero h1 span {
    display: block;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    margin-bottom: 3rem;
    opacity: 0.8;
    font-weight: 400;
}

.btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--light);
    color: var(--dark);
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

/* Section Styles */
section {
    padding: 8rem 0;
    position: relative;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z" fill="%23ff1493" fill-opacity="0.05"/></svg>') no-repeat;
    background-size: cover;
    z-index: 0;
}

.section-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    margin-bottom: 4rem;
    letter-spacing: -2px;
    line-height: 1;
    background: linear-gradient(135deg, var(--light) 0%, rgba(255, 255, 255, 0.5) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Cards */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--gray);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

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

.card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.6s;
}

.card:hover img {
    transform: scale(1.05);
}

.card-content {
    padding: 2rem;
}

.card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.card p {
    opacity: 0.7;
    line-height: 1.6;
}

/* Form Styles */
.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: var(--light);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(255, 20, 147, 0.3);
}

/* Footer */
.footer {
    background: var(--darker);
    color: var(--light);
    padding: 5rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M985.66,92.83C906.67,72,823.78,31,743.84,14.19c-82.26-17.34-168.06-16.33-250.45.39-57.84,11.73-114,31.07-172,41.86A600.21,600.21,0,0,1,0,27.35V120H1200V95.8C1132.19,118.92,1055.71,111.31,985.66,92.83Z" fill="%2300d4ff" fill-opacity="0.05"/></svg>') repeat-x;
    background-size: 1200px 100px;
    animation: wave 20s linear infinite;
}

@keyframes wave {
    0% { transform: translateX(0); }
    100% { transform: translateX(-1200px); }
}

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

.footer-section h3, .footer-section h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: var(--light);
    text-decoration: none;
    opacity: 0.7;
    transition: all 0.3s;
}

.footer-section a:hover {
    opacity: 1;
    color: var(--primary);
}

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

.social-links a {
    width: 45px;
    height: 45px;
    background: var(--gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

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

.footer-map {
    margin-top: 1.5rem;
    border-radius: 15px;
    overflow: hidden;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    height: 350px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

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

/* Admin Styles */
.admin-container {
    display: flex;
    min-height: 100vh;
    margin-top: 80px;
    background: var(--dark);
}

.sidebar {
    width: 280px;
    background: var(--gray);
    padding: 2rem 0;
}

.sidebar ul {
    list-style: none;
}

.sidebar ul li a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 2rem;
    color: var(--light);
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
}

.sidebar ul li a:hover {
    background: rgba(255, 20, 147, 0.1);
    border-left: 3px solid var(--primary);
}

.admin-content {
    flex: 1;
    padding: 3rem;
    background: var(--dark);
    min-height: 100vh;
    width: 100%;
}

@media (max-width: 768px) {
    .admin-content {
        padding: 1.5rem;
        width: 100%;
    }
}

.admin-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    letter-spacing: -1px;
}

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

.dashboard-card {
    background: var(--gray);
    padding: 2rem;
    border-radius: 15px;
    transition: transform 0.3s;
}

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

.dashboard-card h3 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.dashboard-card p {
    opacity: 0.7;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

table {
    width: 100%;
    background: var(--gray);
    border-radius: 15px;
    overflow: hidden;
    overflow-x: auto;
    display: block;
}

@media (max-width: 768px) {
    table {
        font-size: 0.75rem;
    }
    
    table th, table td {
        padding: 0.5rem;
        min-width: 80px;
    }
}

table th {
    background: var(--darker);
    color: var(--light);
    padding: 1.5rem;
    text-align: left;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

table td {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--light);
}

table tr:hover {
    background: rgba(255, 20, 147, 0.05);
}

.mobile-menu-toggle {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(255, 20, 147, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background: var(--darker);
        width: 80%;
        height: 100vh;
        text-align: left;
        transition: left 0.3s ease;
        padding: 5rem 2rem;
        gap: 2rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .sidebar {
        position: fixed;
        left: -280px;
        top: 80px;
        height: calc(100vh - 80px);
        z-index: 999;
        transition: left 0.3s ease;
        overflow-y: auto;
    }
    
    .sidebar.active {
        left: 0;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    table {
        font-size: 0.85rem;
    }
    
    table th, table td {
        padding: 0.8rem;
    }
    
    .dashboard-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}
