* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #000000;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Header */
header {
    background-color: #000000;
    border-bottom: 3px solid #FFD700;
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

header .container .logo {
    line-height: 0;
    display: flex;
    align-items: center;
}

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
}

.logo {
    padding: 0;
    margin: 0;
    overflow: hidden;
    display: inline-block;
    position: relative;
    max-width: fit-content;
}

.logo a {
    display: block;
    overflow: hidden;
    position: relative;
    line-height: 0;
}

.logo img {
    height: 100px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
    background: transparent;
    padding: 0;
    margin: 0;
    border: none;
    outline: none;
    object-fit: contain;
    object-position: center;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    /* Adjust these values to crop whitespace - increase scale to zoom in */
    transform: scale(1.15);
    transform-origin: center center;
}

.logo a:hover img {
    transform: scale(1.05);
}

.logo span {
    font-size: 1.5rem;
    font-weight: bold;
    color: #FFD700;
}

nav {
    display: flex;
    gap: 2rem;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    position: relative;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #FFD700;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav a:hover {
    color: #FFD700;
    background-color: rgba(255, 215, 0, 0.15);
}

nav a:hover::after {
    width: 80%;
}

/* Main Content */
main {
    min-height: calc(100vh - 200px);
}

.hero {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
    color: #fff;
    padding: 5rem 0;
    text-align: center;
    border-bottom: 3px solid #FFD700;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.5;
    }
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: #FFD700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 215, 0, 0.3);
    font-weight: 700;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 1;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
    line-height: 1.8;
}

.hero-content {
    position: relative;
    z-index: 1;
    margin-bottom: 2rem;
}

.hero-image {
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    max-width: 1000px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.3);
    border: 2px solid #FFD700;
}

/* Page Header Images */
.page-header-image {
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    border: 2px solid #FFD700;
}

.page-header-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-header-image img[src=""],
.page-header-image img:not([src]) {
    display: none;
}

.page-header-image:empty {
    display: none;
}

/* Image Sections */
.image-section {
    margin: 2rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border: 2px solid #FFD700;
}

.image-section img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-section:hover img {
    transform: scale(1.05);
}

.image-section img[src=""],
.image-section img:not([src]) {
    display: none;
}

.image-section:empty {
    display: none;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.service-item {
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.3);
    border-color: #FFD700;
}

.service-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    aspect-ratio: 1 / 1;
}

.service-item img[src=""],
.service-item img:not([src]) {
    display: none;
}

.service-item:has(img[src=""]) img,
.service-item:has(img:not([src])) img {
    display: none;
}

.service-item h4 {
    padding: 1.5rem;
    margin: 0;
    color: #FFD700;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    border-top: 3px solid #FFD700;
}

.content {
    padding: 3rem 0;
    background-color: #000000;
}

.content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #FFD700;
    border-bottom: 3px solid #FFD700;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.content h2 {
    font-size: 2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #FFD700;
    border-left: 5px solid #FFD700;
    padding-left: 1.2rem;
    font-weight: 700;
    position: relative;
}

.content h2::before {
    content: '★';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    color: #FFD700;
    font-size: 1.2rem;
}

.content h3 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: #FFD700;
    font-weight: 600;
}

.content li::before {
    content: '✦';
    color: #FFD700;
    font-weight: bold;
    display: inline-block;
    width: 1.5em;
    margin-left: -1.5em;
}

.content p {
    margin-bottom: 1rem;
    color: #e0e0e0;
}

.content ul {
    margin-left: 0;
    margin-bottom: 1.5rem;
    list-style: none;
    padding-left: 1.5rem;
}

.content li {
    margin-bottom: 0.5rem;
    color: #e0e0e0;
}

.content a {
    color: #FFD700;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid #FFD700;
    transition: all 0.3s;
}

.content a:hover {
    color: #ffffff;
    background-color: rgba(255, 215, 0, 0.2);
    padding: 2px 4px;
    border-radius: 3px;
}

/* Footer */
footer {
    background-color: #000000;
    border-top: 3px solid #FFD700;
    padding: 2.5rem 0;
    margin-top: 3rem;
    text-align: center;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #FFD700, transparent);
}

footer p {
    margin-bottom: 0.5rem;
    color: #ffffff;
}

footer a {
    color: #FFD700;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        padding: 1rem 0;
    }

    .logo img {
        height: 80px;
    }

    header .container {
        flex-direction: column;
        gap: 1rem;
    }

    nav {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .content h1 {
        font-size: 2rem;
    }

    .content h2 {
        font-size: 1.5rem;
    }

    .hero-image {
        margin-top: 1.5rem;
    }

    .hero-image img {
        border-radius: 8px;
    }

    .page-header-image {
        margin-bottom: 1.5rem;
        border-radius: 8px;
    }

    .image-section {
        margin: 1.5rem 0;
        border-radius: 8px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 2rem 0;
    }

    .service-item img {
        height: 250px;
    }
}

