:root {
    --primary: #3498db;
    --dark: #2c3e50;
    --accent: #e74c3c;
    --gold: #f1c40f;
    --light: #ecf0f1;
    --background: #1a2a3a;
    --wood: #8b5a2b;
    --wood-light: #d4a76a;
    --wood-dark: #5d3a0d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #1a2a3a 0%, #0d1b2a 100%);
    color: var(--light);
    line-height: 1.6;
    min-height: 100vh;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: rgba(20, 30, 48, 0.9);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 50px;
    filter: drop-shadow(0 0 5px rgba(241, 196, 15, 0.7));
}

.logo h1 {
    font-family: 'MedievalSharp', cursive;
    font-size: 1.4rem;
    color: var(--gold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

nav a:hover {
    background: rgba(52, 152, 219, 0.2);
    color: var(--primary);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('images/vik.png') no-repeat center center/cover;
    height: 500px;
    display: flex;
    align-items: center;
    position: relative;
    padding-bottom: 30px; /* Space for divider */
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
    text-align: center;
    width: 100%;
}

.hero h2 {
    font-family: 'MedievalSharp', cursive;
    font-size: 4rem;
    color: var(--gold);
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
}

.hero p {
    font-size: 1.5rem;
    max-width: 700px;
    margin: 0 auto 30px;
    color: var(--light);
}

.btn {
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-align: center;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-hero {
    background: var(--gold);
    color: var(--dark);
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(241, 196, 15, 0.4);
}

.btn-hero:hover {
    background: #e2b607;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(241, 196, 15, 0.6);
}

/* Arrow animation */
.btn-hero i {
    width: 0;
    opacity: 0;
    transition: all 0.5s ease;
    transform: translateX(-10px);
}

.btn-hero:hover i {
    width: auto;
    opacity: 1;
    transform: translateX(0);
}

/* Fixed Flush Divider */
.divider {
    width: 100%;
    height: 30px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M1200 0L0 0 892.25 114.72 1200 0z" fill="%23f1c40f"/></svg>') center bottom no-repeat;
    background-size: cover;
    margin: 0;
    position: relative;
}

/* Packages Section */
.packages {
    padding: 80px 0;
}

.section-title {
    font-family: 'MedievalSharp', cursive;
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--gold);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: var(--accent);
    margin: 15px auto;
    border-radius: 2px;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.package-card {
    background: rgba(30, 45, 62, 0.8);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(241, 196, 15, 0.3);
    position: relative;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
    border-color: var(--gold);
}

/* Package Card Decorations */
.package-decor {
    position: relative;
    height: 15px;
    background: linear-gradient(90deg, var(--wood) 0%, var(--wood-light) 50%, var(--wood) 100%);
    border-bottom: 2px solid var(--gold);
}

.decor-left, .decor-right {
    position: absolute;
    top: 0;
    width: 20px;
    height: 100%;
    background: var(--wood-dark);
}

.decor-left {
    left: 0;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.decor-right {
    right: 0;
    clip-path: polygon(100% 0, 0 50%, 100% 100%);
}

.viking-icon {
    position: absolute;
    top: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--wood-light) 0%, var(--wood) 100%);
    border: 3px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.viking-icon i {
    font-size: 24px;
    color: var(--dark);
    text-shadow: 0 1px 2px rgba(241, 196, 15, 0.5);
}

.package-header {
    position: relative;
    background: linear-gradient(to right, #2c3e50, #1a2a3a);
    padding: 50px 20px 5px;
    text-align: center;
    border-bottom: 2px solid var(--gold);
}

.package-name {
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 0px;
    font-family: 'MedievalSharp', cursive;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    letter-spacing: 1px;
}

.package-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    position: relative;
    display: inline-block;
}

.package-price span {
    font-size: 1rem;
    color: var(--light);
    opacity: 0.8;
}

.package-price::before,
.package-price::after {
    content: "⚔";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: var(--gold);
    opacity: 0.8;
}

.package-price::before {
    left: -30px;
}

.package-price::after {
    right: -30px;
}

.package-features {
    padding: 25px;
}

.feature-list {
    list-style: none;
    margin-bottom: 25px;
}

.feature-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    padding-left: 10px;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list i {
    color: var(--gold);
}

.feature-list li::before {
    content: "";
    position: absolute;
    left: -10px;
    width: 4px;
    height: 100%;
    background: var(--gold);
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.feature-list li:hover::before {
    opacity: 1;
}

.features {
    scroll-margin-top: 80px; /* Creates a scroll offset for fixed header */
    transition: box-shadow 0.5s ease-in-out;
}

/* Add focus style for accessibility */
.features:focus {
    outline: 2px solid var(--gold);
    outline-offset: 10px;
}

.btn-buy {
    display: block;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to right, #3498db, #2980b9);
    color: white;
    font-weight: 700;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-buy::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.btn-buy:hover {
    background: linear-gradient(to right, #2980b9, #3498db);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-buy:hover::before {
    left: 100%;
}

/* Showcase Section Enhancements */
.showcase {
    padding: 80px 0;
}

.showcase-header {
    text-align: center;
    margin-bottom: 50px;
}

.showcase-title {
    font-family: 'MedievalSharp', cursive;
    font-size: 2.8rem;
    color: var(--gold);
    margin-bottom: 20px;
    position: relative;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.showcase-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: var(--accent);
    margin: 15px auto;
    border-radius: 2px;
}

.showcase-subtitle {
    font-size: 1rem;
    color: var(--light);
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.showcase-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
    position: relative;
    background: rgba(30, 45, 62, 0.8);
    border: 1px solid rgba(241, 196, 15, 0.3);
    display: flex;
    flex-direction: column;
}

.showcase-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
    border-color: var(--gold);
}

.showcase-media-container {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.media-decor {
    position: relative;
    height: 15px;
    background: linear-gradient(90deg, var(--wood) 0%, var(--wood-light) 50%, var(--wood) 100%);
    border-bottom: 2px solid var(--gold);
    z-index: 2;
}

.media-decor .decor-left,
.media-decor .decor-right {
    position: absolute;
    top: 0;
    width: 20px;
    height: 100%;
    background: var(--wood-dark);
}

.media-decor .decor-left {
    left: 0;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.media-decor .decor-right {
    right: 0;
    clip-path: polygon(100% 0, 0 50%, 100% 100%);
}

.showcase-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

.video-container {
    position: absolute;
    top: 15px; /* Account for decor height */
    left: 0;
    width: 100%;
    height: calc(100% - 15px);
    overflow: hidden;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.showcase-content {
    padding: 25px;
    position: relative;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill="rgba(241, 196, 15, 0.05)" width="50" height="50" x="0" y="0"/><rect fill="rgba(241, 196, 15, 0.05)" width="50" height="50" x="50" y="50"/></svg>');
    background-size: 20px 20px;
    border-top: 2px solid #e2b607;
}

.content-icon {
    position: absolute;
    top: -30px;
    right: 25px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--wood-light) 0%, var(--wood) 100%);
    border: 3px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.content-icon i {
    font-size: 24px;
    color: var(--dark);
}

.showcase-item-title {
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 15px;
    font-family: 'MedievalSharp', cursive;
    position: relative;
    padding-bottom: 10px;
    margin-top: 10px;
}

.showcase-item-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.showcase-item-text {
    color: var(--light);
    margin-bottom: 10px;
    line-height: 1.7;
    flex-grow: 1;
}

/* Feature Highlights Section */
.features {
    padding: 80px 0;
    position: relative;
}

.features-header {
    text-align: center;
    margin-bottom: 50px;
}

.features-title {
    font-family: 'MedievalSharp', cursive;
    font-size: 2.8rem;
    color: var(--gold);
    margin-bottom: 20px;
    position: relative;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.features-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: var(--accent);
    margin: 15px auto;
    border-radius: 2px;
}

.features-subtitle {
    font-size: 1rem;
    color: var(--light);
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: rgba(30, 45, 62, 0.8);
    border-radius: 10px;
    padding: 30px 25px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(241, 196, 15, 0.3);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
    border-color: var(--gold);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--wood-light) 0%, var(--wood) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--gold);
}

.feature-icon i {
    font-size: 36px;
    color: var(--dark);
}

.feature-title {
    font-family: 'MedievalSharp', cursive;
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.feature-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.feature-description {
    color: var(--light);
    line-height: 1.7;
    font-size: 1.1rem;
}

/* Staff Section */
.staff {
    padding: 80px 0;
    background: rgba(30, 45, 62, 0.8);
    border-top: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
}

.staff-header {
    text-align: center;
    margin-bottom: 50px;
}

.staff-title {
    font-family: 'MedievalSharp', cursive;
    font-size: 2.8rem;
    color: var(--gold);
    margin-bottom: 20px;
    position: relative;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.staff-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: var(--accent);
    margin: 15px auto;
    border-radius: 2px;
}

.staff-subtitle {
    font-size: 1rem;
    color: var(--light);
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.staff-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    width: 100%;
}

.staff-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.staff-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    background: rgba(255, 255, 255, 0.12);
}

.card-top {
    padding: 40px 30px 15px;
    text-align: center;
    position: relative;
}

.staff-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 25px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--gold);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.staff-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.divider-line {
    height: 2px;
    background: linear-gradient(to right, transparent, var(--accent), transparent);
    width: 80%;
    margin: 0 auto;
    border-radius: 1px;
}

.card-bottom {
    padding: 0px 20px 30px;
    text-align: center;
}

.card-bottom h3 {
    font-size: 1.8rem;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.card-bottom p {
    color: #ddd;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 90%;
    margin: 0 auto;
    font-weight: 300;
}

.role-highlight {
    color: #ffcc00;
    font-weight: 500;
}

/* Footer */
footer {
    background: rgba(15, 25, 35, 0.95);
    padding: 60px 0 30px;
    border-top: 2px solid var(--gold);
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-col h3 {
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 25px;
    font-family: 'MedievalSharp', cursive;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--light);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-links i {
    color: var(--gold);
    width: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    text-decoration: none;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--gold);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 40px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Smooth scrolling enhancement */
html {
    scroll-behavior: smooth;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .staff-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .hero h2 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .divider {
        height: 40px;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero {
        height: 400px;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .divider {
        height: 30px;
    }

    .showcase-title,
    .features-title {
        font-size: 2.2rem;
    }
    
    .showcase-subtitle,
    .features-subtitle {
        font-size: 1.2rem;
    }
    
    .showcase-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .staff-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 350px;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .package-name {
        font-size: 1.5rem;
    }
    
    .package-price {
        font-size: 1.8rem;
    }
    
    .divider {
        height: 25px;
    }
    
    .showcase-title,
    .features-title {
        font-size: 1.8rem;
    }
    
    .showcase-subtitle,
    .features-subtitle {
        font-size: 1rem;
    }
    
    .showcase-item-title,
    .feature-title {
        font-size: 1.5rem;
    }
    
    .viking-icon {
        width: 40px;
        height: 40px;
        top: -20px;
    }
    
    .viking-icon i {
        font-size: 18px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon i {
        font-size: 24px;
    }
}