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

:root {
    --primary-color: #FF6B9D;
    --secondary-color: #C44569;
    --accent-color: #FFC75F;
    --text-dark: #2d3436;
    --text-light: #636e72;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #fff;
    overflow-x: hidden;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

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

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    padding: 0px 0;
    display: flex;
    align-items: center;
}

.logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo span {
    display: inline-block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
    flex: 1;
    justify-content: center;
    margin: 0 20px;
}

.nav-link {
    display: block;
    padding: 20px 15px;
    color: #2d3436;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

/* Individual colors for each nav link */
.nav-menu li:nth-child(1) .nav-link:hover,
.nav-menu li:nth-child(1) .nav-link.active {
    background-color: rgba(255, 107, 157, 0.2);
    color: #FF6B9D;
}

.nav-menu li:nth-child(2) .nav-link:hover,
.nav-menu li:nth-child(2) .nav-link.active {
    background-color: rgba(255, 159, 64, 0.2);
    color: #FF9F40;
}

.nav-menu li:nth-child(3) .nav-link:hover,
.nav-menu li:nth-child(3) .nav-link.active {
    background-color: rgba(54, 162, 235, 0.2);
    color: #36A2EB;
}

.nav-menu li:nth-child(4) .nav-link:hover,
.nav-menu li:nth-child(4) .nav-link.active {
    background-color: rgba(75, 192, 192, 0.2);
    color: #4BC0C0;
}

.nav-menu li:nth-child(5) .nav-link:hover,
.nav-menu li:nth-child(5) .nav-link.active {
    background-color: rgba(255, 205, 86, 0.2);
    color: #FFCD56;
}

.nav-menu li:nth-child(6) .nav-link:hover,
.nav-menu li:nth-child(6) .nav-link.active {
    background-color: rgba(75, 192, 75, 0.2);
    color: #4BC04B;
}

.nav-menu li:nth-child(7) .nav-link:hover,
.nav-menu li:nth-child(7) .nav-link.active {
    background-color: rgba(255, 99, 132, 0.2);
    color: #FF6384;
}

.nav-menu li:nth-child(8) .nav-link:hover,
.nav-menu li:nth-child(8) .nav-link.active {
    background-color: rgba(201, 203, 207, 0.2);
    color: #C9CBCF;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    transition: width 0.3s ease;
}

/* Individual underline colors */
.nav-menu li:nth-child(1) .nav-link::after { background-color: #FF6B9D; }
.nav-menu li:nth-child(2) .nav-link::after { background-color: #FF9F40; }
.nav-menu li:nth-child(3) .nav-link::after { background-color: #36A2EB; }
.nav-menu li:nth-child(4) .nav-link::after { background-color: #4BC0C0; }
.nav-menu li:nth-child(5) .nav-link::after { background-color: #FFCD56; }
.nav-menu li:nth-child(6) .nav-link::after { background-color: #4BC04B; }
.nav-menu li:nth-child(7) .nav-link::after { background-color: #FF6384; }
.nav-menu li:nth-child(8) .nav-link::after { background-color: #C9CBCF; }

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

/* Mobile-only menu items (hidden on desktop) */
.mobile-only {
    display: none;
}

/* Hamburger Menu for Legal Pages (Desktop only) */
.hamburger-menu-main {
    display: flex;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger-menu-main span {
    width: 30px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

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

.hamburger-menu-main.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu-main.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Dropdown Menu for Legal Pages */
.dropdown-menu-main {
    position: fixed;
    top: 70px;
    right: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 999;
    min-width: 200px;
    overflow: hidden;
}

.dropdown-menu-main.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 15px 20px;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background-color: rgba(255, 107, 157, 0.1);
    color: var(--primary-color);
    padding-left: 25px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Main Content */
.main-content {
    margin: 0;
    padding: 0;
    margin-top: 70px;
}

/* Section Styles - Fullscreen */
.section {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.section-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.section-title {
    display: none;
}

/* Image Gallery - Fullscreen */
.image-gallery {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
}

.gallery-image {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: calc(100vh - 70px);
    object-fit: contain;
    object-position: center;
    background-color: #fff;
    display: block;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 30px 20px;
    text-align: center;
}

.footer-content p {
    margin: 5px 0;
    font-size: 16px;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    /* Hide desktop hamburger menu on mobile */
    .hamburger-menu-main {
        display: none !important;
    }

    /* Hide desktop dropdown on mobile */
    .dropdown-menu-main {
        display: none !important;
    }

    /* Show mobile-only menu items */
    .mobile-only {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        margin: 0;
        justify-content: flex-start;
    }

    .nav-menu.active {
        max-height: 700px;
    }

    .nav-link {
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        color: white;
    }

    .nav-right {
        margin-left: 0;
    }

    .section-title {
        font-size: 28px;
        top: 80px;
        padding: 8px 20px;
    }

    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 20px;
    }

    .section-title {
        font-size: 24px;
        top: 75px;
        padding: 6px 15px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.gallery-image {
    animation: fadeIn 0.5s ease-in;
}
