/* ===================================
   VYOM BUILD - PREMIUM DESIGN SYSTEM
   Color Palette:
   - Deep Red: #B22222
   - Charcoal Black: #111111
   - Warm Gray: #F5F5F5
   - White: #FFFFFF
   - Gold Tint: #D4AF37
   =================================== */

/* ===================================
   RESET & BASE STYLES
   =================================== */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #111111;
    background-color: #F5F5F5;
    line-height: 1.7;
    overflow-x: hidden;
}

/* ===================================
   TYPOGRAPHY
   =================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.3;
    color: #111111;
}

.section-label {
    font-family: 'Poppins', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #B22222;
    display: block;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.75rem;
    margin-bottom: 1rem;
    position: relative;
}

.title-underline {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #D4AF37, #B22222);
    margin: 1.5rem auto;
}

.section-description {
    font-size: 1.125rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* ===================================
   CONTAINER & LAYOUT
   =================================== */

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

/* ===================================
   NAVIGATION BAR
   =================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.25rem 0;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.nav-brand .logo-image {
    height: 50px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.nav-brand .logo-image:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    color: #111111;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #D4AF37;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #B22222;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: #111111;
    transition: all 0.3s ease;
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #111111 0%, #2a1515 50%, #111111 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
}

/* Cinematic background animation */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('assets/images/Gemini_Generated_Image_3m5v9n3m5v9n3m5v.png') center/cover no-repeat;
    opacity: 0.4;
    animation: slowZoom 30s ease-in-out infinite alternate;
    filter: brightness(0.9);
}

@keyframes slowZoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(178, 34, 34, 0.3) 0%,
        rgba(17, 17, 17, 0.6) 50%,
        rgba(178, 34, 34, 0.3) 100%
    );
    backdrop-filter: blur(1px);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #FFFFFF;
    max-width: 900px;
    padding: 0 2rem;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    opacity: 0;
    animation: fadeInUp 1.2s ease forwards;
    animation-delay: 0.3s;
    text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.8);
    color: #FFFFFF;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    letter-spacing: 1px;
    opacity: 0;
    animation: fadeInUp 1.2s ease forwards;
    animation-delay: 0.6s;
    text-shadow: 1px 2px 8px rgba(0, 0, 0, 0.8);
    color: #FFFFFF;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #B22222, #8B0000);
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(178, 34, 34, 0.4);
    opacity: 0;
    animation: fadeInUp 1.2s ease forwards;
    animation-delay: 0.9s;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 15px 40px rgba(178, 34, 34, 0.6);
}

.cta-button:hover::before {
    left: 100%;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    color: #FFFFFF;
    font-size: 1.5rem;
    opacity: 0.7;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ===================================
   SECTION SHARED STYLES
   =================================== */

section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

/* Fade-in animation for scroll reveal */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   ABOUT SECTION
   =================================== */

.about-section {
    background: #FFFFFF;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image .image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

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

.image-border {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 2px solid #D4AF37;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.about-image:hover .image-border {
    opacity: 1;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #111111;
}

.about-text p {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: #F5F5F5;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #B22222;
    margin-bottom: 0.5rem;
}

.stat-label {
    display: block;
    font-size: 0.95rem;
    color: #666;
    font-weight: 500;
}

/* ===================================
   SERVICES SECTION
   =================================== */

.services-section {
    background: #F5F5F5;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: #FFFFFF;
    padding: 2.5rem 2rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #D4AF37, #B22222);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(178, 34, 34, 0.2);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #B22222, #8B0000);
    border-radius: 50%;
    font-size: 2rem;
    color: #FFFFFF;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    transform: rotateY(360deg);
    background: linear-gradient(135deg, #D4AF37, #B8860B);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #111111;
}

.service-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
}

/* ===================================
   ALUMINIUM INTERIORS SECTION
   =================================== */

.aluminium-section {
    background: #FFFFFF;
    padding: 5rem 0;
}

.aluminium-section .section-description {
    text-align: center;
    font-size: 1.125rem;
    color: #333;
    max-width: 900px;
    margin: 1.5rem auto 3rem;
    line-height: 1.8;
}

.highlight-number {
    color: #B22222;
    font-weight: 700;
}

.aluminium-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .aluminium-features {
        grid-template-columns: 1fr;
    }
}

.aluminium-card {
    background: #FFFFFF;
    padding: 2.5rem 2rem;
    border: 2px solid #B22222;
    border-radius: 8px;
    text-align: left;
    position: relative;
    transition: all 0.3s ease;
}

.aluminium-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    height: 4px;
    background: #B22222;
    border-radius: 8px 8px 0 0;
}

.aluminium-card:hover {
    box-shadow: 0 10px 30px rgba(178, 34, 34, 0.15);
    transform: translateY(-5px);
}

.aluminium-icon {
    width: 70px;
    height: 70px;
    margin: 0 0 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #B22222;
    border-radius: 50%;
    font-size: 1.75rem;
    color: #FFFFFF;
    position: relative;
    top: -50px;
    margin-bottom: -30px;
    box-shadow: 0 4px 15px rgba(178, 34, 34, 0.3);
}

.aluminium-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #111111;
    font-weight: 600;
}

.aluminium-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
}

.aluminium-footer {
    text-align: center;
    font-size: 1.125rem;
    color: #333;
    max-width: 1000px;
    margin: 3rem auto 0;
    line-height: 1.8;
    font-weight: 400;
}

/* ===================================
   GALLERY SECTION
   =================================== */

.gallery-section {
    background: #FFFFFF;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 400px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(17, 17, 17, 0.9), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

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

.gallery-overlay h3 {
    color: #FFFFFF;
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.gallery-overlay p {
    color: #D4AF37;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ===================================
   CONTACT SECTION
   =================================== */

.contact-section {
    background: #F5F5F5;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.info-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #B22222, #8B0000);
    border-radius: 8px;
    font-size: 1.25rem;
    color: #FFFFFF;
    flex-shrink: 0;
}

.info-text h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #111111;
}

.info-text p {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
}

.contact-form {
    background: #FFFFFF;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: #111111;
    transition: all 0.3s ease;
    background: #F9F9F9;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #B22222;
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(178, 34, 34, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-button {
    width: 100%;
    padding: 1.125rem;
    background: linear-gradient(135deg, #B22222, #8B0000);
    color: #FFFFFF;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(178, 34, 34, 0.3);
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(178, 34, 34, 0.5);
    background: linear-gradient(135deg, #D4AF37, #B8860B);
}

/* ===================================
   FOOTER
   =================================== */

.footer {
    background: #111111;
    color: #FFFFFF;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    height: 80px;
    width: auto;
    display: block;
    margin-bottom: 0.5rem;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    color: #D4AF37;
    font-size: 0.95rem;
    letter-spacing: 1px;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: center;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    position: relative;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #D4AF37;
    transition: width 0.3s ease;
}

.footer-link:hover {
    color: #D4AF37;
}

.footer-link:hover::after {
    width: 100%;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* Tablet */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        align-items: center;
        padding: 3rem 0;
        gap: 2rem;
        transition: left 0.4s ease;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

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

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .section-title {
        font-size: 2.25rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

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

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}

/* Mobile */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .cta-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.875rem;
    }

    .about-text h3 {
        font-size: 1.625rem;
    }

    .service-title {
        font-size: 1.25rem;
    }

    .gallery-item {
        height: 300px;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }
}

/* ===================================
   PARALLAX EFFECT (Optional Enhancement)
   =================================== */

.parallax-section {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* ===================================
   UTILITY CLASSES
   =================================== */

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

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* ===================================
   PAGE HERO (Projects & Blog Pages)
   =================================== */

.page-hero {
    position: relative;
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #111111 0%, #2a1515 50%, #111111 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    margin-top: 80px;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #FFFFFF;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    color: #FFFFFF;
    text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.8);
}

.page-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    letter-spacing: 1px;
    color: #FFFFFF;
    text-shadow: 1px 2px 8px rgba(0, 0, 0, 0.8);
}

/* ===================================
   PROJECTS PAGE STYLES
   =================================== */

.projects-filter-section {
    padding: 3rem 0;
    background: #FFFFFF;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-btn {
    padding: 0.75rem 1.75rem;
    background: #F5F5F5;
    border: 2px solid #E0E0E0;
    color: #111111;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: #B22222;
    color: #FFFFFF;
    border-color: #B22222;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, #B22222, #8B0000);
    color: #FFFFFF;
    border-color: #B22222;
    box-shadow: 0 5px 15px rgba(178, 34, 34, 0.3);
}

.projects-gallery-section {
    padding: 4rem 0 6rem;
    background: #F5F5F5;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
}

.project-card {
    background: #FFFFFF;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(178, 34, 34, 0.2);
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 350px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(17, 17, 17, 0.95), transparent);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-info h3 {
    color: #FFFFFF;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.project-info p {
    color: #E0E0E0;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.project-category {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: #D4AF37;
    color: #111111;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===================================
   BLOG PAGE STYLES
   =================================== */

.blog-section {
    padding: 4rem 0 6rem;
    background: #F5F5F5;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 3rem;
}

.blog-card {
    background: #FFFFFF;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(178, 34, 34, 0.2);
}

.blog-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.5rem 1rem;
    background: #B22222;
    color: #FFFFFF;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #666;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #111111;
    line-height: 1.4;
}

.blog-excerpt {
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex: 1;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #B22222;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-read-more:hover {
    color: #D4AF37;
    gap: 1rem;
}

/* ===================================
   NEWSLETTER SECTION
   =================================== */

.newsletter-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #B22222, #8B0000);
    color: #FFFFFF;
}

.newsletter-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

.newsletter-text h2 {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    color: #FFFFFF;
}

.newsletter-text p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    flex: 1;
    max-width: 500px;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form input:focus {
    outline: none;
    border-color: #D4AF37;
    background: rgba(255, 255, 255, 0.15);
}

/* ===================================
   CTA SECTION
   =================================== */

.cta-section {
    padding: 5rem 0;
    background: #111111;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.75rem;
    margin-bottom: 1rem;
    color: #FFFFFF;
}

.cta-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ===================================
   RESPONSIVE - PROJECTS & BLOG PAGES
   =================================== */

@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }

    .page-subtitle {
        font-size: 1.125rem;
    }

    .filter-buttons {
        gap: 0.75rem;
    }

    .filter-btn {
        padding: 0.625rem 1.5rem;
        font-size: 0.875rem;
    }

    .projects-grid,
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-text h2 {
        font-size: 2rem;
    }

    .newsletter-form {
        width: 100%;
        max-width: 100%;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-content p {
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 2rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }
}

/* ===================================
   BLOG POST PAGE STYLES
   =================================== */

.blog-post-page {
    margin-top: 80px;
}

.blog-post-header {
    position: relative;
    height: 60vh;
    min-height: 500px;
    overflow: hidden;
}

.blog-post-hero {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-post-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(17, 17, 17, 0.95), transparent);
    display: flex;
    align-items: flex-end;
    padding: 3rem 0;
}

.blog-post-category {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: #B22222;
    color: #FFFFFF;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.blog-post-title {
    font-size: 3.5rem;
    color: #FFFFFF;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.8);
}

.blog-post-meta {
    display: flex;
    gap: 2rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

.blog-post-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-post-content {
    padding: 5rem 0;
    background: #FFFFFF;
}

.blog-post-content .container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 4rem;
    max-width: 1400px;
}

.blog-post-body {
    max-width: 800px;
}

.blog-post-body .lead {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.blog-post-body h2 {
    font-size: 2rem;
    color: #111111;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
}

.blog-post-body h3 {
    font-size: 1.5rem;
    color: #111111;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-post-body p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 1.5rem;
}

.blog-post-conclusion {
    margin-top: 4rem;
    padding: 3rem;
    background: #F5F5F5;
    border-radius: 8px;
    border-left: 4px solid #B22222;
    text-align: center;
}

.blog-post-conclusion h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #111111;
}

.blog-post-conclusion p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: #555;
}

.blog-post-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-widget {
    background: #F5F5F5;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.sidebar-widget h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #111111;
}

.related-projects {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.related-project-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: #FFFFFF;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.related-project-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.related-project-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
}

.related-project-item span {
    color: #111111;
    font-weight: 500;
}

.share-buttons {
    display: flex;
    gap: 1rem;
}

.share-btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    color: #B22222;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.125rem;
    transition: all 0.3s ease;
}

.share-btn:hover {
    background: #B22222;
    color: #FFFFFF;
    transform: translateY(-3px);
}

.blog-navigation {
    padding: 3rem 0;
    background: #F5F5F5;
}

.back-to-blog {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: #111111;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.back-to-blog:hover {
    background: #B22222;
    gap: 1rem;
}

/* Responsive - Blog Post Page */
@media (max-width: 1024px) {
    .blog-post-content .container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .blog-post-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .blog-post-title {
        font-size: 2.5rem;
    }

    .blog-post-meta {
        flex-direction: column;
        gap: 0.75rem;
    }

    .blog-post-body h2 {
        font-size: 1.75rem;
    }

    .blog-post-body p,
    .blog-post-body .lead {
        font-size: 1rem;
    }

    .blog-post-sidebar {
        grid-template-columns: 1fr;
    }
}
