@import url('https://fonts.googleapis.com/css2?family=Oleo+Script+Swash+Caps:wght@400;700&family=Work+Sans:wght@300;400;600&display=swap');

:root {
    --primary: #EB243E;
    --dark-bg: #1a1a1a;
    --light-bg: #252525;
    --text-white: #ffffff;
    --text-gray: #cccccc;
    --nav-bg: #111111;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-white);
    font-family: 'Work Sans', sans-serif;
    line-height: 1.6;
}

/* Typography */
h1, h2, nav h1 a {
    font-family: 'Oleo Script Swash Caps', cursive;
}

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

/* Navigation */
nav {
    background-color: var(--nav-bg);
    height: 70px;
    display: flex;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #333;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

nav h1 a {
    text-decoration: none;
    color: var(--text-white);
    font-size: 26px;
    transition: 0.3s;
}

nav h1 a:hover {
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li a {
    text-decoration: none;
    color: var(--text-white);
    font-size: 14px;
    padding: 10px 15px;
    transition: 0.3s;
}

.nav-links li a:hover {
    color: var(--primary);
    background: rgba(255,255,255,0.05);
}

#menu-bar, nav label {
    display: none;
}

/* Hero Banner */
.banner {
    height: 100vh;
    background-image: url(../img/background.jpg); /* Kept original path */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.banner .overlay {
    height: 100%;
    background-color: rgba(15, 5, 20, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 100;
}

.hero-content h1 span {
    color: var(--primary);
}

.hero-content p {
    font-size: 1.1rem;
    margin: 20px 0 40px;
    color: var(--text-gray);
}

/* Sections */
.section-padding {
    padding: 80px 0;
}

.alt-bg {
    background-color: var(--light-bg);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    font-weight: 100;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 2px;
    background: var(--primary);
    margin: 10px auto;
}

/* Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.portfolio-grid img {
    width: 100%;
    border-radius: 8px;
    filter: grayscale(100%);
    transition: 0.4s;
    cursor: pointer;
}

.portfolio-grid img:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

/* Testimonials */
.remarks-card {
    background: var(--dark-bg);
    padding: 40px;
    border-radius: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.prf {
    display: flex;
    align-items: center;
    margin-top: 30px;
}

.prf img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    margin-right: 20px;
}

/* Subscription */
.subscription {
    background-image: url(../img/background.jpg); /* Kept original path */
    background-size: cover;
    background-attachment: fixed;
}

.subscription .overlay {
    background: rgba(15, 5, 20, 0.9);
    padding: 60px 0;
}

.sub-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

/* Buttons */
.main-btn {
    display: inline-block;
    padding: 14px 35px;
    background-color: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    border: none;
    font-family: 'Work Sans';
    font-weight: 600;
    transition: 0.3s;
    cursor: pointer;
}

.main-btn:hover {
    background-color: #c41e33;
    transform: translateY(-2px);
}

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

/* Forms */
.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

input[type="text"], input[type="email"], textarea {
    width: 100%;
    padding: 15px;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--primary);
    color: white;
    font-family: 'Work Sans';
    outline: none;
    transition: 0.3s;
}

input:focus, textarea:focus {
    background: rgba(255,255,255,0.05);
    border-bottom-color: white;
}

/* Footer */
footer {
    background: #0a0a0a;
    padding: 40px 0;
    text-align: center;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.social_media i {
    font-size: 1.2rem;
    color: white;
    background: #222;
    padding: 15px;
    border-radius: 50%;
    margin: 0 10px;
    transition: 0.3s;
}

.social_media i:hover {
    background: var(--primary);
}

footer h6 span {
    color: var(--primary);
}

/* Responsive Mobile Menu */
@media (max-width: 768px) {
    nav label {
        display: block;
        font-size: 24px;
        cursor: pointer;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--nav-bg);
        flex-direction: column;
        display: none; /* Hidden by default on mobile */
    }

    /* Logic to show menu when checkbox is clicked */
    #menu-bar:checked ~ .nav-links {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid #222;
    }

    .nav-links li a {
        padding: 20px;
        display: block;
    }

    .input-row {
        grid-template-columns: 1fr;
    }

    .sub-flex {
        text-align: center;
        justify-content: center;
    }
    
    .footer-grid {
        flex-direction: column;
    }
}
