/* ========================================
   MAIN PAGE SPECIFIC STYLES - Lodipluj
   Styles unique to the main homepage
   ======================================== */

/* ========================================
   FLOATING SHIPS (Main Page)
   ======================================== */

.ship:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.ship:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 3s;
}

.ship:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: 6s;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(0, 26, 46, 0.8) 0%, rgba(0, 61, 92, 0.6) 100%), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1920 1080"><rect fill="%23001a2e" width="1920" height="1080"/><path fill="%23007bbf" opacity="0.3" d="M0,540 Q480,440 960,540 T1920,540 L1920,1080 L0,1080 Z"/><path fill="%2329abe2" opacity="0.2" d="M0,650 Q480,550 960,650 T1920,650 L1920,1080 L0,1080 Z"/></svg>');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px 20px;
}

.hero-content {
    max-width: 100%;
    width: 100%;
    z-index: 2;
    position: relative;
    animation: fadeInUp 1s ease;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #29abe2, #007bbf, #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    animation: oceanGlow 3s ease-in-out infinite alternate;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 20px;
    opacity: 0.9;
    color: #b3e5fc;
    line-height: 1.4;
}

.hero-date {
    font-size: 1.8rem;
    color: #29abe2;
    font-weight: bold;
    margin-bottom: 30px;
}

/* Override button styles for hero CTA button */
.hero .cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #007bbf 0%, #29abe2 100%);
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(41, 171, 226, 0.4);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
}

.hero .cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.hero .cta-button:hover::before {
    left: 100%;
}

.hero .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(41, 171, 226, 0.6);
}

.hero .cta-button:active {
    transform: translateY(-1px);
}

/* ========================================
   STICKY NAVIGATION
   ======================================== */

.sticky-nav {
    position: sticky;
    top: 60px;
    background: linear-gradient(135deg, #003d5c 0%, #005577 100%);
    z-index: 900;
    border-bottom: 2px solid #29abe2;
    box-shadow: 0 2px 10px rgba(0, 123, 191, 0.3);
}

.sticky-nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.sticky-nav ul {
    list-style: none;
    display: flex;
    justify-content: stretch;
    margin: 0;
    padding: 0;
}

.sticky-nav li {
    flex: 1;
}

.sticky-nav a {
    display: block;
    padding: 15px 10px;
    color: #fff;
    text-decoration: none;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
    transition: all 0.3s ease;
    border-right: 1px solid rgba(255,255,255,0.1);
    position: relative;
    font-size: 0.9rem;
}

.sticky-nav li:last-child a {
    border-right: none;
}

.sticky-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #29abe2, #007bbf);
    transition: width 0.3s ease;
}

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

.sticky-nav a:hover,
.sticky-nav a.active {
    background: linear-gradient(135deg, rgba(41, 171, 226, 0.2) 0%, rgba(0, 123, 191, 0.2) 100%);
    color: #29abe2;
}

/* ========================================
   SECTION ALTERNATING BACKGROUNDS
   ======================================== */

.section {
    background: linear-gradient(135deg, #0a0e27 0%, #1a2456 100%);
}

.section:nth-child(even) {
    background: linear-gradient(135deg, rgba(0, 61, 92, 0.3) 0%, rgba(0, 85, 119, 0.3) 100%);
}

.section[style*="background-color: #141829"] {
    background: linear-gradient(135deg, #141829 0%, #1a2456 100%) !important;
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about-content {
    display: block;
    gap: 30px;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.9;
    color: #e1f5fe;
    margin-bottom: 30px;
}

.about-image {
    position: relative;
    height: 300px;
    background: linear-gradient(45deg, #007bbf, #29abe2);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(41, 171, 226, 0.3);
    width: 100%;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

/* ========================================
   INFO GRID
   ======================================== */

.info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
}

/* ========================================
   SCHEDULE TIMELINE
   ======================================== */

.schedule-timeline {
    position: relative;
    padding: 20px 0;
}

.schedule-item {
    display: block;
    margin-bottom: 30px;
    position: relative;
}

.schedule-time {
    font-size: 1.5rem;
    font-weight: bold;
    color: #29abe2;
    margin-bottom: 10px;
    text-align: center;
}

.schedule-content {
    background: linear-gradient(135deg, rgba(0, 61, 92, 0.8) 0%, rgba(0, 85, 119, 0.8) 100%);
    padding: 20px;
    border-radius: 15px;
    border-left: 4px solid #29abe2;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.schedule-content h3 {
    color: #b3e5fc;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.schedule-content p {
    color: #e1f5fe;
    opacity: 0.9;
    line-height: 1.6;
}

.schedule-content:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(41, 171, 226, 0.3);
}

/* ========================================
   LOCATION SECTION
   ======================================== */

.location-map {
    border-radius: 15px;
    margin-top: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(41, 171, 226, 0.3);
    height: 300px;
}

.location-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ========================================
   RESPONSIVE BREAKPOINTS
   ======================================== */

/* Small phones (up to 480px) */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-date {
        font-size: 1.4rem;
    }
    
    .sticky-nav a {
        padding: 12px 8px;
        font-size: 0.8rem;
    }
    
    .about-image {
        height: 250px;
    }
    
    .location-map {
        height: 250px;
    }
}

/* Medium phones (481px to 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .about-content {
        gap: 40px;
    }
    
    .about-image {
        height: 350px;
    }
    
    .location-map {
        height: 350px;
    }
}

/* Tablets (769px to 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .about-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        align-items: center;
    }
    
    .about-image {
        height: 400px;
    }
    
    .schedule-item {
        display: flex;
        align-items: center;
    }
    
    .schedule-time {
        width: 120px;
        text-align: right;
        padding-right: 20px;
        margin-bottom: 0;
    }
    
    .schedule-content {
        flex: 1;
    }
}

/* Desktop (1025px and up) */
@media (min-width: 1025px) {
    .hero h1 {
        font-size: 4rem;
    }
    
    .info-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    .about-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 50px;
        align-items: center;
    }
    
    .about-image {
        height: 420px;
    }
    
    .schedule-item {
        display: flex;
        align-items: center;
    }
    
    .schedule-time {
        width: 150px;
        text-align: right;
        padding-right: 30px;
        margin-bottom: 0;
        font-size: 2rem;
    }
    
    .schedule-content {
        flex: 1;
    }
    
    .schedule-content:hover {
        transform: translateX(10px);
    }
    
    .location-map {
        height: 390px;
    }
}

/* ========================================
   TOUCH OPTIMIZATIONS
   ======================================== */

@media (hover: none) and (pointer: coarse) {
    .schedule-content:hover {
        transform: none;
    }
    
    /* Increase touch targets */
    .sticky-nav a {
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}