/* Specific styles for homepage */

/* Background image paths */
.slideshow div:nth-child(1) {
    background-image: url("images/DSCN1947.jpg");
}

.slideshow div:nth-child(2) {
    background-image: url("images/DSCN1991.JPG");
    animation-delay: 6s;
}

.slideshow div:nth-child(3) {
    background-image: url("images/Rush Point Beach.jpg");
    animation-delay: 12s;
}

.slideshow div:nth-child(4) {
    background-image: url("images/DSCN2082.JPG");
    animation-delay: 18s;
}

.slideshow div:nth-child(5) {
    background-image: url("images/Picture 108.jpg");
    animation-delay: 24s;
}

.slideshow div:nth-child(6) {
    background-image: url("images/DSCN2039.jpg");
    animation-delay: 30s;
}

/* Features section */
.features-section {
    margin-top: 2rem;
    text-align: center;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

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

.feature i {
    font-size: 2.5rem;
    color: #4b9fe1;
    margin-bottom: 1rem;
}

.feature h3 {
    color: #0a2647;
    margin: 1rem 0;
    font-size: 1.5rem;
}

/* Main content */
.news-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem 4rem;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Add responsiveness - on screens less than 600px, make the navigation links stack on top of each other */
@media screen and (max-width: 600px) {
    .navbar a, .dropdown .dropbtn {
        display: block;
        width: 100%;
        text-align: left;
    }
    
    .dropdown-content {
        position: relative;
        z-index: 30;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }
    
    .features-section {
        padding: 1rem;
    }

    .news-container {
        margin: 1rem auto;
        padding: 1rem;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Menu Grid */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.menu-item {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(5px);
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.icon-group {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.menu-item i {
    font-size: 2.5rem;
    color: #28559a;
}

.menu-item i.fa-info-circle, 
.menu-item i.fa-cloud-sun {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.menu-item h2 {
    color: #333;
    margin-bottom: 1rem;
}

.menu-item p {
    color: #666;
    margin-bottom: 1.5rem;
}

/* Quick Links Section */
.quick-links-title {
    font-size: 0.9em;
    color: #666;
    margin: 25px 0 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quick-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Main Button */
.main-btn-container {
    margin-top: 25px;
    text-align: center;
}

.btn {
    display: inline-block;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-align: center;
    font-weight: 500;
}

/* Primary (All About) Button */
.btn-primary {
    padding: 1rem 2rem;
    font-size: 1.1em;
    background-color: #4b9fe1;
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    min-width: 200px;
}

.btn-primary:hover {
    background-color: #0a2647;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Small (Quick Links) Buttons */
.btn-small {
    padding: 0.6rem 1.2rem;
    font-size: 0.9em;
    background-color: #4b9fe1;
    color: white;
}

.btn-small:hover {
    background-color: #0a2647;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.description {
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin: 1rem 0;
    font-size: 1.1em;
}

/* Weather Details Styles */
.weather-detail, .wind-detail, .marine-detail {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.weather-detail:last-child, .wind-detail:last-child, .marine-detail:last-child {
    border-bottom: none;
}

.label {
    font-weight: 500;
    color: #0a2647;
    margin-right: 0.5rem;
}

.value {
    color: #333;
}

.forecast-detail, .marine-detail {
    margin: 1rem 0;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
}

.forecast-detail h3, .marine-detail h3 {
    color: #0a2647;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.forecast-text, .marine-text, .wave-text {
    color: #444;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Airline Logo Styles */
.airline-logo {
    max-width: 75px;
    width: 100%;
    height: auto;
    margin: 0 auto 1rem;
    border-radius: 5px;
    display: block;
}

.menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Flight Tracking Button Styles */
.flight-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    margin-top: 0.5rem;
    width: 100%;
}

.quick-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.quick-links-title {
    margin: 1rem 0 0.25rem;
    font-size: 1.1rem;
    color: #666;
    text-align: center;
}

.main-btn-container {
    text-align: center;
    margin: 1rem 0;
}

.btn-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.flight-actions .btn {
    display: inline-block;
    text-align: center;
    margin: 0;
    min-width: 200px;
}

.btn {
    padding: 0.5rem 1rem;
    background-color: #0a2647;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #0d3158;
}

.btn-small {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
}

.btn-small i {
    font-size: 0.8rem;
    margin-right: 0.3rem;
}

/* Footer Styles */
footer {
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 1rem 0;
    margin-top: 2rem;
    text-align: center;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #e6dbc9;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-section {
    margin: 0.5rem 0;
    font-size: 0.8rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

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

    .menu-item {
        padding: 1.5rem;
    }

    header {
        padding: 1.5rem 0;
    }
}

/* Quick Links Button Styles */
.quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 10px;
}

.quick-links a {
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9em;
    transition: all 0.3s ease;
    flex: 0 1 auto;
}

.quick-links .track-button {
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 5px;
    transition: all 0.3s ease;
}

.quick-links .track-button i {
    font-size: 1rem;
}

.quick-links .track-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* ACE Status Styles */
.status-inactive {
    color: #666;
    font-style: italic;
}

.status-active {
    color: #4CAF50;
    font-weight: bold;
}

.status-descending {
    color: #f44336;
    font-weight: bold;
    animation: flash-status 1s infinite;
}

@keyframes flash-status {
    0%, 49% {
        color: #f44336;
    }
    50%, 100% {
        color: #ff9800;
    }
}

/* Flight Status Card Styles */
.flight-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    background-color: #f8f8f8;
}

.flight-header {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.status-item {
    display: flex;
    margin-bottom: 8px;
    padding: 8px;
    background-color: #fff;
    border-radius: 4px;
}

.airport-code {
    font-weight: bold;
    width: 60px;
}

.status-text {
    flex: 1;
}

.timestamp {
    font-size: 12px;
    color: #777;
    text-align: right;
    margin-top: 10px;
}

.status-enroute {
    background-color: #fff8e1;
    border-left: 4px solid #ffc107;
}

.status-arrived {
    background-color: #e8f5e9;
    border-left: 4px solid #4caf50;
}

.status-departed {
    background-color: #e3f2fd;
    border-left: 4px solid #2196f3;
}

.status-scheduled {
    background-color: #f5f5f5;
    border-left: 4px solid #9e9e9e;
}

/* ACE Notification Banner */
.notification-banner {
    background-color: #ff9800;
    color: white;
    padding: 12px;
    margin: -1.5rem -1.5rem 1rem -1.5rem;
    border-radius: 10px 10px 0 0;
    text-align: center;
    font-weight: bold;
    animation: flash-warning 1s infinite;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.notification-banner i {
    color: white;
    margin-right: 8px;
    font-size: 1.2rem;
}

@keyframes flash-warning {
    0%, 49% {
        background-color: #ff9800;
        transform: scale(1);
    }
    50%, 100% {
        background-color: #f44336;
        transform: scale(1.02);
    }
}
