/* Full width layout */
body {
    width: 100%;
    overflow-x: hidden;
    text-align: center;
}

header {
    width: 100%;
    margin: 0;
    padding: 0;
}

nav {
    background-color: var(--logo-background);
    padding: 15px 0;
    position: relative;
    border-radius: 0;
    display: block;
    width: 100%;
    box-sizing: border-box;
}

.nav-content {
    width: 100%;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo-container {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    max-height: 70px;
    overflow: visible;
    position: relative;
    z-index: 10;
}

.logo {
    height: 60px;
    width: auto;
    margin-right: 15px;
    border-radius: 0;
    object-fit: contain;
    display: block;
    background-color: transparent;
    padding: 0;
}

.hamburger-menu {
    display: none;
}

.hamburger-icon {
    font-size: 24px;
    cursor: pointer;
    padding: 5px 10px;
    color: var(--white);
}

nav ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
}

nav li {
    margin: 0 15px;
}

nav a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    display: block;
    padding: 10px 8px;
    font-size: 1rem;
}

nav a:hover {
    color: #ffd700;
    transition: color 0.3s ease;
}

nav a.active {
    color: #ffd700;
}

.main-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.footer-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Deck page specific styles */

/* Override slideshow title for Deck page */
.slideshow-overlay h1 {
    font-size: 3.5rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* Features Section */
.features-section {
    margin: 60px 0;
    padding: 60px 0;
    background-color: var(--light-gray);
    border-radius: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.features-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--dark-blue);
    font-size: 2.2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
    padding: 0 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.feature-item {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 42px;
    color: #1F3A93;  /* Blue color for deck theme */
    margin-bottom: 20px;
}

.feature-item h3 {
    margin-bottom: 15px;
    color: #1F3A93;
    font-size: 1.4rem;
}

.feature-item p {
    color: #555;
    line-height: 1.6;
}

/* Content Split customization */
.content-split {
    margin-top: 70px;
}

.content-right h2 {
    color: #1F3A93;  /* Blue color for deck theme */
    font-size: 2.3rem;
    line-height: 1.4;
}

/* CTA Button Styling */
.cta-button {
    display: inline-block;
    background-color: #ffd700;  /* Yellow color for deck theme */
    color: #000;
    padding: 14px 28px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    margin-top: 25px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-size: 1.1rem;
}

.cta-button:hover {
    background-color: #e6c300;  /* Darker yellow for hover */
    transform: scale(1.05);
}

/* Extra styling for deck-specific elements */
.content-image {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Deck Carousel Section */
.deck-carousel-section {
    margin: 60px 0;
    padding: 60px 0;
    background-color: var(--light-gray);
    border-radius: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.deck-carousel-section h2 {
    text-align: center;
    margin-bottom: 10px;
    color: var(--dark-blue);
    font-size: 2.2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
    padding: 0 20px;
}

.deck-carousel-section p {
    text-align: center;
    margin-bottom: 40px;
    color: #666;
    font-size: 1.1rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
    padding: 0 20px;
}

.deck-carousel-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.deck-carousel-track {
    position: relative;
    width: 100%;
    height: 500px;
}

.deck-carousel-slide {
    display: none;
    position: relative;
    width: 100%;
    height: 100%;
}

.deck-carousel-slide.active {
    display: block;
}

.deck-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 40px 30px 20px;
    text-align: left;
}

.slide-caption h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: #ffd700;
}

.slide-caption p {
    font-size: 1rem;
    margin: 0;
    opacity: 0.9;
}

.deck-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.deck-carousel-button {
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.deck-carousel-button:hover {
    background-color: #1F3A93;
    color: white;
    transform: scale(1.1);
}

.deck-carousel-button i {
    font-size: 1.2rem;
    color: #1F3A93;
}

.deck-carousel-button:hover i {
    color: white;
}

.deck-carousel-indicators {
    display: flex;
    justify-content: center;
    padding: 20px;
    gap: 10px;
    background-color: #f8f9fa;
}

.deck-carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.deck-carousel-indicator.active {
    background-color: #1F3A93;
    transform: scale(1.2);
}

.deck-carousel-indicator:hover {
    background-color: #ffd700;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    nav {
        justify-content: space-between;
    }
    
    .logo-container {
        width: auto;
        margin-bottom: 0;
    }
    
    .hamburger-menu {
        display: block;
    }
    
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        padding: 10px 0;
        margin-top: 10px;
    }
    
    .nav-menu.show {
        display: flex;
    }
    
    nav li {
        margin: 5px 0;
        width: 100%;
        text-align: center;
    }
    
    nav a {
        padding: 10px;
        border-bottom: 1px solid var(--light-gray);
    }

    .slideshow-overlay h1 {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-item {
        padding: 20px;
    }
    
    .content-right h2 {
        font-size: 1.8rem;
    }
    
    .deck-carousel-section {
        padding: 20px;
    }
    
    .deck-carousel-container {
        max-width: 100%;
        margin: 0 10px;
    }
    
    .deck-carousel-track {
        height: 400px;
    }
    
    .slide-caption {
        padding: 30px 20px 15px;
    }
    
    .slide-caption h3 {
        font-size: 1.3rem;
    }
    
    .slide-caption p {
        font-size: 0.9rem;
    }
    
    .deck-carousel-button {
        width: 40px;
        height: 40px;
    }
    
    .deck-carousel-button i {
        font-size: 1rem;
    }
    
    .deck-carousel-nav {
        padding: 0 10px;
    }
}
