/* Base styles and fonts */
@font-face {
    font-family: 'Norse';
    src: url('https://db.onlinewebfonts.com/t/1c394f48dfc48b1e0296eb216e559b40.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Viking';
    src: url('https://db.onlinewebfonts.com/t/1eeabc7d0e61cc1e056f204af9af65af.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --viking-dark-blue: #203a53;
    --viking-medium-blue: #2d547a;
    --viking-light-blue: #a8c0d6;
    --viking-gold: #c9a66b;
    --viking-ivory: #f8f4e9;
    --foreground: #1a202c;
    --background: #ffffff;
    --border: #e2e8f0;
    --radius: 0.5rem;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    color: var(--foreground);
    background-color: var(--background);
    line-height: 1.5;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Norse', sans-serif;
    color: var(--viking-dark-blue);
}

.font-viking {
    font-family: 'Viking', sans-serif;
}

/* Container and layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.flex {
    display: flex;
}

.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.flex-col {
    flex-direction: column;
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

.space-x-2>*+* {
    margin-left: 0.5rem;
}

.space-x-4>*+* {
    margin-left: 1rem;
}

.space-x-6>*+* {
    margin-left: 1.5rem;
}

.space-y-2>*+* {
    margin-top: 0.5rem;
}

.space-y-3>*+* {
    margin-top: 0.75rem;
}

.order-1 {
    order: 1;
}

.order-2 {
    order: 2;
}

/* Typography */
.text-center {
    text-align: center;
}

.text-sm {
    font-size: 0.875rem;
}

.text-base {
    font-size: 1rem;
}

.text-lg {
    font-size: 1.125rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-2xl {
    font-size: 1.5rem;
}

.text-3xl {
    font-size: 1.875rem;
}

.text-4xl {
    font-size: 2.25rem;
}

.text-6xl {
    font-size: 3.75rem;
}

.font-medium {
    font-weight: 500;
}

.font-bold {
    font-weight: 700;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.mb-16 {
    margin-bottom: 4rem;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-16 {
    margin-top: 4rem;
}

.mt-20 {
    margin-top: 5rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.mx-4 {
    margin-left: 1rem;
    margin-right: 1rem;
}

.mr-3 {
    margin-right: 0.75rem;
}

/* Borders, shadows, and effects */
.rounded {
    border-radius: var(--radius);
}

.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-full {
    border-radius: 9999px;
}

.border {
    border-width: 1px;
    border-style: solid;
}

.border-t {
    border-top-width: 1px;
    border-top-style: solid;
}

.border-gray-100 {
    border-color: #f3f4f6;
}

.border-viking-gold\/30 {
    border-color: rgba(201, 166, 107, 0.3);
}

.border-viking-medium-blue {
    border-color: var(--viking-medium-blue);
}

.shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.shadow-md {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Colors */
.bg-white {
    background-color: #ffffff;
}

.bg-viking-dark-blue {
    background-color: var(--viking-dark-blue);
}

.bg-viking-medium-blue {
    background-color: var(--viking-medium-blue);
}

.bg-viking-gold {
    background-color: var(--viking-gold);
}

.bg-viking-gold\/10 {
    background-color: rgba(201, 166, 107, 0.1);
}

.bg-viking-gold\/90 {
    background-color: rgba(201, 166, 107, 0.9);
}

.bg-viking-ivory {
    background-color: var(--viking-ivory);
}

.text-white {
    color: #ffffff;
}

.text-gray-300 {
    color: #d1d5db;
}

.text-gray-400 {
    color: #9ca3af;
}

.text-gray-600 {
    color: #4b5563;
}

.text-gray-700 {
    color: #374151;
}

.text-viking-dark-blue {
    color: var(--viking-dark-blue);
}

.text-viking-gold {
    color: var(--viking-gold);
}

/* Sizing and Spacing */
.p-3 {
    padding: 0.75rem;
}

.p-4 {
    padding: 1rem;
}

.p-6 {
    padding: 1.5rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-6 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.pt-8 {
    padding-top: 2rem;
}

.pt-16 {
    padding-top: 4rem;
}

.pb-8 {
    padding-bottom: 2rem;
}

.px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
}

.w-full {
    width: 100%;
}

.w-16 {
    width: 4rem;
}

.w-12 {
    width: 3rem;
}

.h-auto {
    height: auto;
}

.h-16 {
    height: 4rem;
}

.h-0\.5 {
    height: 0.125rem;
}

.max-w-2xl {
    max-width: 42rem;
}

.max-w-3xl {
    max-width: 48rem;
}

/* Positioning */
.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.top-0 {
    top: 0;
}

.top-full {
    top: 100%;
}

.left-0 {
    left: 0;
}

.right-0 {
    right: 0;
}

.bottom-0 {
    bottom: 0;
}

.-bottom-6 {
    bottom: -1.5rem;
}

.-left-6 {
    left: -1.5rem;
}

.z-10 {
    z-index: 10;
}

.z-50 {
    z-index: 50;
}

/* Display */
.block {
    display: block;
}

.inline-block {
    display: inline-block;
}

.hidden {
    display: none;
}

/* Object Fit */
.object-cover {
    object-fit: cover;
}

/* Background */
.bg-cover {
    background-size: cover;
}

.bg-center {
    background-position: center;
}

/* Opacity */
.opacity-0 {
    opacity: 0;
}

.opacity-20 {
    opacity: 0.2;
}

/* Transform */
.transform {
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.rotate-\[-2deg\] {
    --tw-rotate: -2deg;
    transform: rotate(-2deg);
}

.hover-translate {
    transition: transform 0.3s ease;
}

.hover-translate:hover {
    transform: translateY(-4px);
}

/* Transitions */
.transition-colors {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.transition-transform {
    transition-property: transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.duration-300 {
    transition-duration: 300ms;
}

.duration-500 {
    transition-duration: 500ms;
}

.duration-700 {
    transition-duration: 700ms;
}

/* Hover effects */
.hover\:text-viking-gold:hover {
    color: var(--viking-gold);
}

.hover\:bg-viking-gold\/10:hover {
    background-color: rgba(201, 166, 107, 0.1);
}

.hover\:bg-viking-gold\/90:hover {
    background-color: rgba(201, 166, 107, 0.9);
}

.hover\:bg-viking-medium-blue:hover {
    background-color: var(--viking-medium-blue);
}

.hover\:shadow-md:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.hover\:border-viking-gold\/30:hover {
    border-color: rgba(201, 166, 107, 0.3);
}

.hover\:scale-\[1\.02\]:hover {
    transform: scale(1.02);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    font-weight: 500;
    text-align: center;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: white;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

/* Mobile menu button */
.menu-icon,
.close-icon {
    display: block;
}

/* Service card */
.service-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.375rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(201, 166, 107, 0.2);
}

.service-card:hover {
    border-color: var(--viking-gold);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Gallery item */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 0.375rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
    opacity: 0.9;
}

.gallery-item img {
    width: 100%;
    height: 16rem;
    object-fit: cover;
    transition: all 0.3s ease;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.scissors {
    color: var(--viking-gold);
}

/* Media Queries */
@media (min-width: 768px) {
    .md\:flex {
        display: flex;
    }

    .md\:hidden {
        display: none;
    }

    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .md\:flex-row {
        flex-direction: row;
    }

    .md\:gap-8 {
        gap: 2rem;
    }

    .md\:gap-12 {
        gap: 3rem;
    }

    .md\:px-6 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .md\:py-20 {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    .md\:py-32 {
        padding-top: 8rem;
        padding-bottom: 8rem;
    }

    .md\:text-2xl {
        font-size: 1.5rem;
    }

    .md\:text-4xl {
        font-size: 2.25rem;
    }

    .md\:text-lg {
        font-size: 1.125rem;
    }

    .md\:p-4 {
        padding: 1rem;
    }

    .md\:-bottom-8 {
        bottom: -2rem;
    }

    .md\:-left-8 {
        left: -2rem;
    }

    .md\:mb-0 {
        margin-bottom: 0;
    }

    .md\:mt-20 {
        margin-top: 5rem;
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .lg\:order-1 {
        order: 1;
    }

    .lg\:order-2 {
        order: 2;
    }
}

@media (min-width: 640px) {
    .sm\:flex-row {
        flex-direction: row;
    }

    .sm\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sm\:w-auto {
        width: auto;
    }
}

.list-none {
    list-style-type: none;
}