/* Variables */
:root {
    --primary-color: #e63946;
    --secondary-color: #f1faee;
    --accent-color: #a8dadc;
    --dark-bg: #0a192f;
    --card-bg: #112240;
    --text-color: #e0e0e0;
    --text-muted: #a0a0a0;
    --font-main: 'Outfit', sans-serif;
    --font-heading: 'Playfair Display', serif;
    --transition: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

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

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: #fff;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.center {
    text-align: center;
}

.dot {
    color: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: #c1121f;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(230, 57, 70, 0.3);
}

.btn-secondary {
    background-color: transparent;
    border-color: #fff;
    color: #fff;
    margin-left: 15px;
}

.btn-secondary:hover {
    background-color: #fff;
    color: var(--dark-bg);
    transform: translateY(-3px);
}

.btn-outline {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: rgba(17, 34, 64, 0.95);
    backdrop-filter: blur(10px);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    margin-left: 12px;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #fff;
    font-family: var(--font-heading);
    display: flex;
    align-items: center;
}

.logo .dot {
    color: #ff0000;
    /* Explicit red as requested */
    font-size: 2rem;
    line-height: 0;
    margin-left: 2px;
}

@media (max-width: 768px) {
    .logo-text {
        font-size: 1rem;
        letter-spacing: 1px;
        max-width: 200px;
        /* Prevent overflow on small screens */
        line-height: 1.2;
    }
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-btn {
    padding: 8px 20px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
}

.nav-btn:hover {
    background-color: #c1121f;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: #fff;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    text-align: right;
    overflow: hidden;
    padding-bottom: 100px;
    padding-right: 50px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 16, 20, 0.3), rgba(15, 16, 20, 0.9));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    text-align: right;
}

.hero-eyebrow {
    font-family: var(--font-heading);
    color: #06b6d4;
    background: transparent;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 4px solid #06b6d4;
    display: inline-block;
    text-shadow: 0 2px 8px rgba(6, 182, 212, 0.3);
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #e0e0e0;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

.hero-social {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    justify-content: flex-end;
}

.hero-social a {
    width: 50px;
    height: 50px;
    background: rgba(17, 34, 64, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.hero-social a:hover {
    background: var(--primary-color);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(230, 57, 70, 0.4);
    border-color: var(--primary-color);
}

/* About Section */
.about {
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-img {
    position: relative;
}

.about-img img {
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

.img-decoration {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    z-index: 1;
}

.about-text .lead {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 20px;
}

.features {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--card-bg);
    padding: 20px;
    border-radius: 10px;
    flex: 1;
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
    background: #252830;
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.feature-item span {
    font-size: 0.9rem;
    font-weight: 600;
}

/* Gallery Section */
.gallery {
    padding: 100px 0;
    background-color: #0d1f3a;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    cursor: default;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: var(--dark-bg);
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 3rem;
    color: #fff;
}

.center-btn {
    text-align: center;
}

/* Footer */
.footer {
    padding: 80px 0 30px;
    background-color: #0a192f;
    border-top: 1px solid #222;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.footer-brand p {
    color: var(--text-muted);
}

.footer-links h4 {
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--card-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.email-text {
    color: var(--text-muted);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #222;
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

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

.reveal-left,
.reveal-right,
.reveal-up {
    opacity: 0;
    transition: all 1s ease;
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.reveal-up {
    transform: translateY(50px);
}

.reveal-active {
    opacity: 1;
    transform: translate(0);
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        justify-content: center;
        align-items: center;
        padding: 0 20px;
        text-align: center;
    }

    .hero-content {
        text-align: center;
    }

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

    .hero-social {
        justify-content: center;
        margin-top: 25px;
    }

    .hero-social a {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .menu-toggle {
        display: block;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: #1a1c23;
        flex-direction: column;
        justify-content: center;
        transition: 0.4s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    }

    .nav-menu.active {
        right: 0;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }
}