* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #1a1a1a;
    color: #e8e8e8;
    line-height: 1.6;
}

/* Navigation */
nav {
    background: #0d0d0d;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(220, 53, 69, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #dc3545;
    letter-spacing: 2px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background: #dc3545;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 0;
}

nav a {
    color: #e8e8e8;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

nav a:hover {
    color: #dc3545;
}

/* Hero Section */
.hero {
    height: 85vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(26, 26, 26, 0.8)), 
                url('https://images.unsplash.com/photo-1517438322307-e67111335449?w=1600') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    padding: 2rem 4rem;
    border-bottom: 3px solid #dc3545;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero h1 {
    font-size: 5rem;
    margin-bottom: 1rem;
    color: #dc3545;
    text-shadow: 0 0 30px rgba(220, 53, 69, 0.6), 0 4px 10px rgba(0, 0, 0, 0.8);
    font-weight: 900;
    letter-spacing: 3px;
}

.hero p {
    font-size: 1.6rem;
    color: #e8e8e8;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
    line-height: 1.4;
    font-weight: 500;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    color: #dc3545;
    text-align: center;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background: #242424;
    border: 2px solid #3a3a3a;
    border-radius: 8px;
    padding: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card:hover {
    border-color: #dc3545;
    box-shadow: 0 0 20px rgba(220, 53, 69, 0.4);
    transform: translateY(-5px);
}

.card h3 {
    color: #dc3545;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card p {
    color: #b8b8b8;
}

/* Expandable Cards */
.expandable-card {
    background: #242424;
    border: 2px solid #3a3a3a;
    border-radius: 8px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.expandable-card:hover {
    border-color: #dc3545;
    box-shadow: 0 0 20px rgba(220, 53, 69, 0.4);
}

.expandable-card.expanded {
    border-color: #dc3545;
    background: #2a2a2a;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.card-header img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #dc3545;
}

.expandable-card.expanded .card-header img {
    width: 100px;
    height: 100px;
}

.card-header h3 {
    color: #dc3545;
    font-size: 1.3rem;
}

.card-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    margin-top: 0;
}

.expandable-card.expanded .card-details {
    max-height: 500px;
    margin-top: 1.5rem;
}

.card-details p {
    color: #b8b8b8;
    margin-bottom: 0.5rem;
}

.card-details strong {
    color: #dc3545;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    background: #242424;
    border: 2px solid #3a3a3a;
    transition: all 0.3s ease;
}


.gallery-item:hover {
    border-color: #dc3545;
    box-shadow: 0 0 15px rgba(220, 53, 69, 0.3);
}

.gallery-item.landscape {
    aspect-ratio: 16/9;
}

.gallery-item.portrait {
    aspect-ratio: 3/4;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border: 3px solid #dc3545;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 3rem;
    color: #dc3545;
    cursor: pointer;
    background: none;
    border: none;
    transition: transform 0.3s;
}

.lightbox-close:hover {
    transform: scale(1.2);
}

/* Buttons */
.btn {
    display: inline-block;
    background: #dc3545;
    color: #fff;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
}

.btn:hover {
    background: #c82333;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(220, 53, 69, 0.5);
}

/* Contact Options */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-option {
    background: #242424;
    border: 2px solid #3a3a3a;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.contact-option:hover {
    border-color: #dc3545;
    box-shadow: 0 0 20px rgba(220, 53, 69, 0.4);
    transform: translateY(-5px);
}

.contact-option svg {
    width: 60px;
    height: 60px;
    fill: #dc3545;
    margin-bottom: 1rem;
}

.contact-option h3 {
    color: #dc3545;
    margin-bottom: 0.5rem;
}

/* About Section */
.about-content {
    background: #242424;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #dc3545;
}

/* Page Content */
.page {
    display: none;
}

.page.active {
    display: block;
}

/* Footer */
footer {
    background: #0d0d0d;
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
    border-top: 2px solid #dc3545;
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        padding: 1rem;
    }

    .menu-toggle {
        display: flex;
    }

    nav ul {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: #0d0d0d;
        flex-direction: column;
        gap: 0;
        padding: 2rem 0;
        transition: left 0.3s ease;
        border-top: 2px solid #dc3545;
    }

    nav ul.active {
        left: 0;
    }

    nav ul li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #2a2a2a;
    }

    nav ul li a {
        display: block;
        padding: 1.2rem;
        font-size: 1.1rem;
    }

    .hero {
        height: 60vh;
        padding: 1rem;
        align-items: center;
        text-align: center;
        background-position: center;
    }

    .hero::before {
        background: rgba(0, 0, 0, 0.75);
    }

    .hero-content {
        max-width: 100%;
    }

    .hero h1 {
        font-size: 2.5rem;
        letter-spacing: 1px;
    }

    .hero p {
        font-size: 1.1rem;
    }

    nav {
        padding: 0.8rem 1rem;
    }

    nav ul {
        gap: 0.5rem;
        font-size: 0.9rem;
    }

    .container {
        padding: 2rem 1rem;
    }

    .card-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .card, .expandable-card {
        padding: 1.2rem;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .lightbox {
        padding: 1rem;
    }

    .lightbox img {
        max-width: 95%;
        max-height: 80%;
    }

    .lightbox-close {
        top: 0.5rem;
        right: 0.5rem;
        font-size: 2.5rem;
        background: rgba(0, 0, 0, 0.7);
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .card-header {
        flex-direction: column;
        text-align: center;
    }

    .card-header img {
        margin: 0 auto;
    }

    .about-content {
        padding: 1.5rem;
    }

    .btn {
        width: 100%;
        padding: 1rem;
        font-size: 1.1rem;
    }

    footer {
        padding: 1.5rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    nav ul {
        gap: 0.3rem;
        font-size: 0.8rem;
    }

    .section-title {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }

    .card h3, .card-header h3 {
        font-size: 1.2rem;
    }

    .contact-option svg {
        width: 50px;
        height: 50px;
    }

    .expandable-card.expanded .card-header img {
        width: 80px;
        height: 80px;
    }
}

/* Touch optimization */
@media (hover: none) and (pointer: coarse) {
    .card, .expandable-card, .gallery-item, .contact-option {
        -webkit-tap-highlight-color: transparent;
    }

    .btn {
        min-height: 44px;
        min-width: 44px;
    }

    nav a {
        padding: 0.5rem;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}