/* General Reset and Body Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #f9f7f3 0%, #ffffff 100%);
    color: #2d3748;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation Menu */
.nav {
    background: linear-gradient(90deg, #2d3748 0%, rgba(0, 4, 12, 0.95) 100%);
    padding: 1.5rem 3rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.nav.scrolled {
    background: rgba(0, 4, 12, 0.98);
    padding: 1rem 3rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f3f3f7;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s ease;
}

.logo:hover {
    color: #ed64a6;
}

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

.nav-item a {
    color: #f3f3f7;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: all 0.3s ease;
}

.nav-item a:hover, .nav-item a.active {
    color: #ed64a6;
    transform: translateY(-2px);
}

.nav-item a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: #ed64a6;
    transition: width 0.3s ease;
}

.nav-item a:hover::after {
    width: 100%;
}

/* Dropdown Menu */
.nav-item.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: rgba(0, 4, 12, 0.95);
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 5px;
    top: 100%;
    left: 0;
    padding: 0.5rem 0;
    animation: fadeIn 0.2s ease;
}

.dropdown-content a {
    color: #f3f3f7;
    padding: 0.5rem 1rem;
    display: block;
    font-size: 1rem;
    text-transform: none;
}

.dropdown-content a:hover {
    background: #040946;
    color: #ffffff;
}

.nav-item.dropdown:hover .dropdown-content {
    display: block;
}

/* Hamburger Menu for Mobile */
.menu-toggle {
    display: none;
    font-size: 2rem;
    color: #f3f3f7;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.menu-toggle:hover {
    color: #ed64a6;
}

@media (max-width: 768px) {
    .nav {
        padding: 1rem 1.5rem;
    }

    .nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(0, 4, 12, 0.98);
        padding: 1.5rem 0;
        animation: slideDown 0.3s ease;
    }

    .nav-list.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
        position: absolute;
        right: 1.5rem;
        top: 1.5rem;
    }

    .nav-item {
        padding: 0.75rem 1.5rem;
        text-align: center;
    }

    .nav-item a {
        font-size: 1.1rem;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        background: none;
        padding-left: 1rem;
    }
}

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

@keyframes slideDown {
    from { transform: translateY(-10px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Hero Section */
.hero {
    background-image: url('media/fynie2.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    margin-top: 70px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 4, 12, 0.7) 0%, rgba(0, 4, 12, 0.4) 100%);
    z-index: 1;
    transition: opacity 0.3s ease;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2.5rem;
    background: rgba(243, 243, 247, 0.15);
    border-radius: 15px;
    backdrop-filter: blur(8px);
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 0.5s ease-out;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 700;
    color: #f3f3f7;
    margin-bottom: 1.2rem;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.6);
}

.hero p {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 1.8rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Button Styling */
.button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #ed64a6 0%, #00040c 100%);
    color: #f3f3f7;
    text-decoration: none;
    border-radius: 25px;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
    border: 2px solid #121f69;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.button:hover::before {
    width: 300px;
    height: 300px;
}

.button:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 20px rgba(18, 31, 105, 0.8);
    background: linear-gradient(135deg, #d53f8c 0%, #040946 100%);
}

/* Section Styling */
.section {
    padding: 5rem 3rem;
    background: linear-gradient(135deg, #ffffff 0%, #f9f7f3 100%);
    border-bottom: 2px solid rgba(237, 100, 166, 0.15);
    position: relative;
    overflow: hidden;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ed64a6, transparent);
    animation: shimmer 3s infinite;
}

.section h2 {
    font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2.8rem;
    color: #2d3748;
    position: relative;
    z-index: 2;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #ed64a6;
    border-radius: 2px;
    transition: width 0.4s ease;
}

.section:hover h2::after {
    width: 100px;
}

@keyframes shimmer {
    0% { left: -100%; }
    20% { left: 100%; }
    100% { left: 100%; }
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(18, 31, 105, 0.1);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #ffffff 0%, #f9f7f3 100%);
}

.service-card h3 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    color: #2d3748;
}

.service-card p {
    font-size: 1.2rem;
    color: #4a5568;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
    border: 3px solid rgba(18, 31, 105, 0.2);
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.gallery-img:hover {
    transform: scale(1.15);
    box-shadow: 0 0 30px rgba(18, 31, 105, 0.6);
}

.gallery-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 50%, rgba(237, 100, 166, 0.3) 100%);
    transition: opacity 0.3s ease;
}

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

/* Video Section */
.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.video-player {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    border: 2px solid rgba(18, 31, 105, 0.1);
}

.video-player:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* About Section */
.about {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(18, 31, 105, 0.1);
}

.about p {
    font-size: 1.3rem;
    color: #4a5568;
    line-height: 1.9;
}

/* Contact Section */
.contact {
    text-align: center;
    background: linear-gradient(135deg, #f9f7f3 0%, #ffffff 100%);
    padding-bottom: 3rem;
}

.contact p {
    font-size: 1.3rem;
    margin-bottom: 1.8rem;
    color: #4a5568;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.social-icons a {
    color: #4a5568;
    font-size: 2rem;
    text-decoration: none;
    transition: all 0.4s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.social-icons a:hover {
    color: #ed64a6;
    transform: rotate(20deg) scale(1.3);
    background: rgba(237, 100, 166, 0.1);
}

.social-icons a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: #ed64a6;
    transition: width 0.4s ease, left 0.4s ease;
}

.social-icons a:hover::after {
    width: 100%;
    left: 0;
}

/* Footer */
footer {
    background: linear-gradient(90deg, #2d3748 0%, #040946 100%);
    color: #f3f3f7;
    text-align: center;
    padding: 2rem 0;
    font-size: 1.1rem;
    border-top: 2px solid rgba(18, 31, 105, 0.2);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, transparent, #ed64a6, transparent);
    animation: shimmer 4s infinite;
}

footer p {
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

footer:hover p {
    opacity: 1;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .services-grid, .gallery-grid, .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav {
        padding: 1.5rem 2rem;
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 1rem 1rem;
    }

    .hero {
        height: 50vh;
        margin-top: 60px;
    }

    .hero-content {
        padding: 1.5rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .button {
        padding: 0.7rem 1.8rem;
        font-size: 1rem;
    }

    .section {
        padding: 2.5rem 1rem;
    }

    .section h2 {
        font-size: 2.2rem;
    }

    .services-grid, .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-img {
        height: 250px;
    }

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

@media (max-width: 640px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .social-icons a {
        font-size: 1.7rem;
        width: 40px;
        height: 40px;
    }
}