@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');

:root {
    --primary-color: #c41e3a; /* Georgian red */
    --secondary-color: #333333;
    --text-color: #333333;
    --light-color: #ffffff;
    --background-color: #f8f9fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
nav {
    background-color: #000000;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 100px; /* Increased padding to accommodate wider text */
    position: relative;
    min-height: 100px;
}

.logo {
    color: #c41e3a;
    font-size: 32px;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "San Francisco", Helvetica, Arial, sans-serif;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.5px;
    position: relative;
    left: 20px;
}

.logo a {
    color: #ff3333;
    text-decoration: none;
    font-size: 48px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    letter-spacing: 10px; /* Increased letter spacing significantly */
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(255, 51, 51, 0.3);
    text-transform: uppercase;
    padding-right: 10px; /* Compensate for the last letter spacing */
    display: inline-block;
    text-align: center;
}

.logo a:hover {
    color: #ff4d4d; /* Slightly lighter red on hover */
    transform: scale(1.02); /* Subtle scale effect on hover */
}

.menu-icon {
    position: absolute;
    right: 40px; /* Moved slightly more right */
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 1001;
}

.menu-icon span {
    display: block;
    width: 35px; /* Increased from 28px */
    height: 4px; /* Increased from 3px */
    background-color: #ff3333;
    margin: 8px 0; /* Increased from 6px */
    transition: 0.4s;
    border-radius: 3px;
}

/* Add hover effect to match logo interaction */
.menu-icon:hover span {
    background-color: #ff4d4d;
}

.nav-menu {
    position: fixed;
    top: 90px; /* Adjusted to match new nav height */
    right: -100%;
    background-color: rgba(0, 0, 0, 0.95);
    width: 350px; /* Increased from 300px */
    padding: 30px;
    border-radius: 20px 0 0 20px;
    transition: 0.3s;
    flex-direction: column;
    gap: 25px;
    box-shadow: -5px 5px 15px rgba(0, 0, 0, 0.2);
    list-style: none;
}

.nav-menu.active {
    right: 0;
}

.nav-menu li {
    margin: 15px 0;
    list-style-type: none;
    text-align: center;
}

.nav-menu li a {
    color: white;
    text-decoration: none;
    font-size: 28px; /* Increased from 24px */
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    display: block;
    padding: 18px 0; /* Increased padding */
    border-radius: 12px;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
    text-align: center;
}

.nav-menu li a:hover {
    color: #c41e3a;
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateX(0);
    font-weight: 500;
}

/* Hero Section */
#hero {
    background-image: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)), url("images/red scene.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

#hero:target {
}

:root:not(:has([id]:target)) #hero {
}

/* Adjust text container to work better with new background */
.hero-section .container {
    width: 100%;
    padding: 0 20px;
    margin-top: 80px;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 30px;
    border-radius: 10px;
}

.hero-section h1,
.hero-section .hero-text {
    transform: none;
    left: 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 4rem; /* Slightly smaller for better fit */
    margin-bottom: 2rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
    position: relative;
    z-index: 2;
    font-weight: 700;
    letter-spacing: 1px;
    font-family: 'Open Sans', sans-serif;
}

.hero-text {
    font-size: 1.6rem; /* Slightly smaller for better fit */
    max-width: 700px; /* Reduced max-width for better proportion */
    margin: 0 auto;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.8);
    position: relative;
    z-index: 2;
    line-height: 1.4;
    font-family: 'Open Sans', sans-serif;
}

.hero-text-wrapper {
    position: relative;
    left: 5px;
    text-align: center;
    margin: 0 auto;
}

/* Section Common Styles */
.section {
    position: relative;
    padding: 5rem 0;
    background-color: var(--background-color);
}

.section.active {
}

.section:target {
}

.section h2 {
    font-family: 'Open Sans', sans-serif;
    font-size: 3rem;
    font-weight: 600;
    color: white;
    margin-bottom: 3rem;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.dark-section {
    background-color: #000000;
    color: var(--light-color);
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 3rem;
}

/* Videos Section */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.video-placeholder {
    background: #333;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.youtube-button {
    display: block;
    width: fit-content;
    margin: 2rem auto;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: var(--light-color);
    text-decoration: none;
    border-radius: 5px;
}

/* Photos Section */
.photo-filters {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
}

.photo-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    aspect-ratio: 1;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-item:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: url('images/magnifying-glass.png'), auto; /* Change cursor to magnifying glass on hover over pictures */
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.member-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: #f0f0f0;
    margin: 0 auto 1rem;
    background-size: cover;
    background-position: center 1.5px;
    background-repeat: no-repeat;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.contact-form input {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Open Sans', sans-serif;
}

.contact-form textarea {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    height: 150px; /* Set height to 150px */
    font-family: 'Open Sans', sans-serif;
}

.contact-form button {
    background: var(--primary-color);
    color: var(--light-color);
    padding: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: var(--light-color);
    padding: 4rem 0 1rem;
    position: relative;
}

.footer-info {
    text-align: center;
}

.social-icons {
    margin-top: 1rem;
}

.social-icons a {
    display: inline-block;
    margin: 0 10px;
}

.social-icons img {
    width: 30px;
    height: 30px;
    vertical-align: middle;
    filter: invert(100%); /* Change icon color to white */
}

.social-icons a[href^="mailto:"] img {
    width: 28px; /* Adjust as needed to visually match */
    height: 28px; /* Adjust as needed to visually match */
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: var(--light-color);
    text-decoration: none;
    line-height: 2;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero-text {
        font-size: 1rem;
        max-width: 90%;
    }

    .nav-container {
        padding: 15px 20px;
        justify-content: space-between;
        align-items: center;
    }

    .logo {
         font-size: 24px;
         left: auto;
         margin-left: 60px;
         display: inline-block;
         width: auto;
         text-align: left;
         position: relative;
    }

    .logo a {
        font-size: 36px;
        letter-spacing: 5px;
        line-height: 1.2;
    }

    .menu-icon {
        right: 20px;
    }

    .nav-menu {
        top: 80px;
        width: 250px;
        padding: 20px;
        border-radius: 10px 0 0 10px;
    }

    .nav-menu li {
        margin: 10px 0;
    }

    .nav-menu li a {
        font-size: 20px;
        padding: 12px 0;
    }

    .dancer-logo {
        max-height: 50px;
        top: 50%;
        left: 10px;
    }

    .video-grid,
    .photo-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 3rem 0;
    }

    h2 {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }

    .about-content {
        flex-direction: column;
        align-items: center;
    }

    .about-text {
        margin-bottom: 15px;
    }

    .member-photo {
        height: 200px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-info {
        margin-bottom: 20px;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-links ul {
        padding: 0;
        text-align: center;
    }

    .footer-links li {
        display: block;
        margin-bottom: 10px;
    }

    /* Ensure targeted/active sections are clear on mobile */
    .section.active {
    }

    /* Ensure Photos section is clear on mobile */
    #photos {
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 1.8rem;
    }

    .hero-text {
        font-size: 0.9rem;
    }

    .nav-container {
        padding: 15px 20px;
        justify-content: space-between;
        align-items: center;
    }

    .logo {
        font-size: 14px;
        left: auto;
        margin-left: 50px;
        display: inline-block;
        width: auto;
        text-align: left;
        position: relative;
    }

    .logo a {
        font-size: 30px;
        letter-spacing: 3px;
        line-height: 1.2;
    }

    .nav-menu {
        width: 160px;
    }

    .nav-menu li a {
        font-size: 14px;
    }

    h2 {
        font-size: 1.4rem;
    }

    .section-subtitle {
        font-size: 0.8rem;
    }

    .contact-form button {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .member-photo {
        height: 160px;
    }

    .dancer-logo {
        max-height: 45px;
        top: 50%;
    }

    /* Ensure targeted/active sections are clear on very small screens */
    .section.active {
    }

    /* Ensure Photos section is clear on very small screens */
    #photos {
    }
}

/* About Section */
#about {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('images/curly-hair-woman.png');
    background-size: cover;
    background-position: center 40%;
    background-repeat: no-repeat;
    color: white;
    padding: 6rem 0;
    position: relative;
}

/* Remove the previous transition overlay styles */
.section:not(:target)::after,
.section::before,
#about::before {
    display: none;
}

/* Ensure content stays visible */
.section > * {
    position: relative;
    z-index: 2;
}

/* Make the About Us title smaller */
#about h2 {
    font-size: 3rem; /* Reduced from 3.5rem back to original size */
    font-weight: 600; /* Reduced from 700 to original weight */
    color: white;
    text-transform: uppercase;
    margin-bottom: 3rem;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5); /* Reduced shadow */
    position: relative;
    z-index: 2;
    letter-spacing: 1px; /* Reduced from 2px */
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 15px;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.about-text {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.4rem; /* Increased font size */
    line-height: 2; /* Increased line height */
    margin-bottom: 2rem;
    color: white;
    letter-spacing: 0.5px; /* Increased letter spacing */
    text-align: justify;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-weight: 500; /* Slightly bolder text */
}

.about-text:last-child {
    margin-bottom: 0;
}

/* Add new styles for the dancer logo */
.dancer-logo {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    height: 70px; /* Default height */
    width: auto;
    transition: all 0.3s ease;
}

/* Add landscape orientation styles */
@media screen and (orientation: landscape) {
    #about {
        background-position: center 35%; /* Slightly adjusted for landscape */
    }

    .about-content {
        max-width: 80%; /* Wider content area in landscape */
        padding: 30px;
        margin: 2rem auto;
    }

    .about-text {
        font-size: 1.2rem; /* Slightly smaller text in landscape */
        line-height: 1.8;
        margin-bottom: 1.5rem;
    }

    #about h2 {
        font-size: 2.5rem; /* Smaller title in landscape */
        margin-bottom: 2rem;
    }
}

/* Additional responsive adjustments for very wide screens */
@media screen and (min-width: 1400px) {
    .about-content {
        max-width: 1200px; /* Larger max-width for wide screens */
    }
}

/* Specific adjustments for the About section */
#about:target {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('images/curly-hair-woman.png');
    background-size: cover;
    background-position: center 30%;
}

/* Videos section specific styling */
#videos {
    background-color: black;
}

/* Also apply to hero section */
#hero {
    /* ... existing styles ... */
}

#hero.active {
}

/* Video container for responsive iframe */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Update video-item styles */
.video-item {
    margin-bottom: 1rem;
}

.video-item h4 {
    margin-top: 1rem;
    color: white;
    font-size: 1.2rem;
    text-align: center;
}

.home-image {
    display: block;
    margin-left: auto;
    margin-right: auto;
    /* Optional: add some spacing */
    margin-top: 20px;
    margin-bottom: 20px;
    /* Optional: set a max width */
    max-width: 100%;
    height: auto;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: 999;
    transition: background-color 0.3s ease;
    cursor: zoom-out;
    overflow: hidden;
}

.lightbox.active {
    display: block;
    background: rgba(0, 0, 0, 0.95);
    cursor: url('images/x-cursor.png'), auto; /* Change cursor to X shape when lightbox is open */
}

.lightbox-img {
    position: absolute;
    cursor: zoom-out;
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.2, 0, 0.2, 1), 
                opacity 0.5s cubic-bezier(0.2, 0, 0.2, 1);
    transform-origin: 0 0;
    will-change: transform, opacity;
}

.lightbox.active .lightbox-img {
    opacity: 1;
}

.lightbox.transitioning {
    pointer-events: none;
}

.close-lightbox {
    position: fixed;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    transition: all 0.3s ease;
}

.lightbox.active .close-lightbox {
    opacity: 1;
}

.close-lightbox:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.download-btn {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 25px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    z-index: 1000;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active .download-btn {
    opacity: 1;
}

.download-btn:hover {
    background-color: #a01830;
}

/* Photo grid hover effect */
.photo-item img {
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

.photo-item:hover img {
    transform: scale(1.05);
}

section#photos {
    background: #000 !important;
    color: #fff !important;
}

section#team,
section#contact,
footer {
    background: #000 !important;
    color: #fff !important;
}

/* Ensure Photos section is always clear */
#photos {
}

@media screen and (min-width: 1024px) {
    .nav-container {
        padding: 0 100px; /* Reduced vertical padding to 0 */
        min-height: 0px; /* Set minimum height to 0 */
        /* You might need to adjust horizontal padding (100px) if needed */
    }

    /* Ensure targeted/active sections are clear on mobile */
    .section.active {
    }

    /* Ensure Photos section is clear on mobile */
    #photos {
    }
}

.video-item {
  margin-bottom: 32px;
  text-align: center;
}
.video-frame {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  background: #000;
  overflow: hidden;
}
.video-frame iframe,
.video-frame .video-thumbnail {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
}
.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.play-button {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: url('images/Play.png') center/contain no-repeat;
  pointer-events: none;
}

.nk-signature {
  position: absolute;
  left: 0;
  bottom: 0;
  font-size: 1.2rem;
  color: #ff2e3d;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  letter-spacing: 0.1em;
  opacity: 0.25;
  margin: 0;
  padding: 0 16px 8px 8px;
  background: none;
  z-index: 2;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s, color 0.2s;
}
.nk-signature:hover, .nk-signature:focus {
  opacity: 0.7;
  color: #ff2e3d;
  text-decoration: underline;
}
footer .container {
  position: relative;
}