/* ===== BASE STYLES & VARIABLES ===== */
:root {
    --primary: #111111;
    /* Deep Black */
    --primary-light: #222222;
    --accent: #E30613;
    /* Bold Red */
    --accent-hover: #c40510;
    --text-main: #222222;
    --text-light: #555555;
    --bg-light: #f5f5f5;
    --white: #ffffff;

    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
}

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

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

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

.section {
    padding: 6rem 0;
}

/* Typography & Utilities */
.gradient-text {
    background: linear-gradient(135deg, var(--accent) 0%, #ff4d4d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background-color: rgba(227, 6, 19, 0.1);
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(227, 6, 19, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
}

.btn-full {
    width: 100%;
    gap: 0.5rem;
}

/* ===== NAVBAR ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 1.5rem 0;
    background-color: transparent;
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
}

header nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    z-index: 1001;
}

.logo-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
}

.logo-icon {
    font-size: 2rem;
    color: var(--accent);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--white);
    line-height: 1;
    letter-spacing: 1px;
    transition: var(--transition);
}

.logo-sub {
    font-size: 0.7rem;
    color: var(--accent);
    letter-spacing: 2px;
    font-weight: 600;
}

header.scrolled .logo-main {
    color: var(--primary);
}

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

.nav-links li a {
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 0.3rem;
}

header.scrolled .nav-links li a {
    color: var(--primary);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

.nav-cta {
    padding: 0.8rem 2rem;
    background-color: var(--accent);
    color: var(--white);
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition);
}

.nav-cta:hover {
    background-color: var(--accent-hover);
    color: var(--white);
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 100%;
    height: 2px;
    background-color: var(--white);
    transition: var(--transition);
}

header.scrolled .hamburger span {
    background-color: var(--primary);
}

/* ===== HERO SECTION ===== */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('hero-bg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 0 2rem;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.75) 100%);
    z-index: 1;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    color: var(--white);
    margin-top: 4rem;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(5px);
    background: rgba(255, 255, 255, 0.05);
}

.hero h1 {
    font-size: 4.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 4rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.stat-number::after {
    content: '+';
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    margin-top: 0.5rem;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--white);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.7;
    transition: var(--transition);
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-arrow {
    width: 2px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: var(--accent);
    animation: scrollDown 2s infinite ease-in-out;
}

@keyframes scrollDown {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(200%);
    }
}

/* ===== ABOUT SECTION ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-img-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/5;
    box-shadow: var(--shadow-lg);
}

.about-img-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('hero-bg.webp');
    /* Fallback / Placeholder */
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

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

.about-image {
    position: relative;
}

.experience-badge {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    background-color: var(--primary);
    color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    border-bottom: 4px solid var(--accent);
}

.exp-number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.exp-text {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    margin-top: 0.5rem;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-desc {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

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

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.8rem;
}

.feature-icon {
    font-size: 1.5rem;
    background: rgba(227, 6, 19, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.feature h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.feature p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ===== SERVICES SECTION ===== */
.services {
    background-color: var(--white);
}

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

.service-card {
    background-color: var(--bg-light);
    padding: 3rem 2rem;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    background-color: var(--white);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.service-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.service-line {
    width: 40px;
    height: 3px;
    background-color: var(--accent);
    transition: var(--transition);
}

.service-card:hover .service-line {
    width: 100px;
}

/* ===== PROJECTS SECTION ===== */
.projects-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.6rem 1.5rem;
    background: transparent;
    border: 1px solid #ddd;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
    color: var(--text-main);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 300px;
    gap: 1.5rem;
}

.project-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.project-card.large {
    grid-column: span 2;
    grid-row: span 2;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
    display: block;
}

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

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: var(--transition);
}

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

.project-tag {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.project-overlay h4 {
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
    transform: translateY(20px);
    transition: all 0.4s ease 0.1s;
}

.project-overlay p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transform: translateY(20px);
    transition: all 0.4s ease 0.2s;
}

.project-card:hover .project-tag,
.project-card:hover .project-overlay h4,
.project-card:hover .project-overlay p {
    transform: translateY(0);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    background-color: var(--primary);
    color: var(--white);
    text-align: center;
}

.testimonials .section-header h2 {
    color: var(--white);
}

.testimonials .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    min-height: 250px;
}

.testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.5s ease;
    visibility: hidden;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
    visibility: visible;
    position: relative;
}

.stars {
    color: var(--accent);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.testimonial-card p {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 2rem;
    color: var(--white);
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background-color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--white);
    font-family: 'Playfair Display', serif;
}

.testimonial-author strong {
    display: block;
    font-size: 1.1rem;
    color: var(--white);
}

.testimonial-author span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--accent);
    transform: scale(1.3);
}

/* ===== CONTACT SECTION ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-items {
    margin: 3rem 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background-color: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.contact-item:hover .contact-icon {
    background-color: var(--accent);
    color: var(--white);
}

.contact-item h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.contact-item p {
    color: var(--text-light);
}

.contact-map {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.contact-map:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 280px;
    border: none;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.5rem;
    background-color: #fafafa;
    border: 1px solid #eaeaea;
    border-radius: 50px;
    color: var(--primary);
    font-weight: 500;
}

.social-link:hover {
    background-color: #E1306C;
    /* Instagram Color */
    color: var(--white);
    border-color: #E1306C;
}

.contact-form-wrapper {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    border-top: 4px solid var(--accent);
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid #ddd;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--text-main);
    transition: var(--transition);
}

.form-group select {
    cursor: pointer;
    color: var(--text-light);
}

.form-group select:valid {
    color: var(--text-main);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-bottom-color: var(--accent);
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 0;
    color: var(--text-light);
    pointer-events: none;
    transition: var(--transition);
}

.form-group input:focus~label,
.form-group input:not(:placeholder-shown)~label,
.form-group textarea:focus~label,
.form-group textarea:not(:placeholder-shown)~label {
    top: -10px;
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 600;
}

/* ===== LIGHTBOX ===== */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s;
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10000;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--accent);
    text-decoration: none;
    cursor: pointer;
}

.lightbox-prev,
.lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: 0.3s;
    border-radius: 4px;
    user-select: none;
    -webkit-user-select: none;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    z-index: 10000;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: var(--accent);
}

.lightbox-caption {
    margin-top: 20px;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    font-size: 18px;
    font-family: 'Inter', sans-serif;
    animation: zoomIn 0.3s;
}

@media only screen and (max-width: 768px) {
    .lightbox-content {
        width: 100%;
    }

    .lightbox-prev,
    .lightbox-next {
        padding: 12px;
        font-size: 18px;
    }
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--primary);
    color: rgba(255, 255, 255, 0.7);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .logo {
    margin-bottom: 1.5rem;
}

.footer-brand p {
    max-width: 300px;
}

.footer-links h4 {
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* Instagram FAB */
.instagram-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: var(--transition);
    animation: pulse-ig 2s infinite;
}

.instagram-fab:hover {
    transform: scale(1.1);
}

@keyframes pulse-ig {
    0% {
        box-shadow: 0 0 0 0 rgba(225, 48, 108, 0.5);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(225, 48, 108, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(225, 48, 108, 0);
    }
}

/* Animations */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* ===== ABOUT GRID CENTERED (replaces inline styles) ===== */
.about-grid--centered {
    grid-template-columns: 1fr;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

/* ===== CONTACT GRID CENTERED (replaces inline styles) ===== */
.contact-grid--centered {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-actions {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.btn-instagram {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    padding: 15px 30px;
}

.contact-address-link {
    text-decoration: none;
    color: inherit;
    width: 100%;
}

.contact-item--card {
    width: 100%;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 15px 30px;
    border-radius: 12px;
    transition: transform 0.3s;
}

.contact-item--card:hover {
    transform: translateY(-2px);
}

.contact-item-text {
    text-align: left;
}

/* ===== HAMBURGER ANIMATION ===== */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

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

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

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

/* --- Tablet (max-width: 1024px) --- */
@media (max-width: 1024px) {
    .section {
        padding: 4.5rem 0;
    }

    .section-header h2 {
        font-size: 2.3rem;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .project-card.large {
        grid-column: span 1;
        grid-row: span 1;
    }

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

    .hero-content {
        max-width: 700px;
    }

    .about-content h2 {
        font-size: 2.2rem;
    }

    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 2.5rem;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

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

    .section {
        padding: 3.5rem 0;
    }

    /* Section Header */
    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-header h2 {
        font-size: 1.9rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    .section-tag {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }

    /* Navbar */
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        padding: 1.5rem 1.2rem;
        box-shadow: var(--shadow-md);
        text-align: center;
        gap: 0;
        animation: slideDown 0.3s ease forwards;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-links.active li a {
        color: var(--primary);
        font-size: 1.05rem;
        display: block;
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-links.active li:last-child a {
        border-bottom: none;
    }

    .nav-links.active li a:hover,
    .nav-links.active li a.active {
        color: var(--accent);
    }

    header {
        padding: 1rem 0;
    }

    header nav {
        padding: 0 1.2rem;
    }

    .logo-img {
        width: 38px;
        height: 38px;
    }

    .logo-main {
        font-size: 1.05rem;
    }

    .logo-sub {
        font-size: 0.6rem;
    }

    /* Hero */
    .hero {
        background-attachment: scroll;
        background-position: center center;
        background-size: cover;
        height: auto;
        min-height: 100vh;
        min-height: 100dvh;
        padding: 0 1.2rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .hero-content {
        margin-top: 2rem;
        padding: 0 0.5rem;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
        letter-spacing: 1px;
    }

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

    .hero p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        gap: 0.8rem;
        flex-direction: column;
        width: 100%;
        max-width: 280px;
        margin: 0 auto 2rem;
    }

    .btn {
        width: 100%;
        padding: 0.9rem 1.2rem;
        font-size: 0.95rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .scroll-indicator {
        display: none;
    }

    /* About */
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr !important;
        max-width: 100% !important;
    }

    .about-content h2 {
        font-size: 1.8rem;
    }

    .about-desc {
        font-size: 1rem;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .feature {
        flex-direction: row;
        text-align: left;
        gap: 1rem;
        padding: 1rem;
        background: rgba(227, 6, 19, 0.03);
        border-radius: 12px;
    }

    .feature-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .feature h4 {
        font-size: 1rem;
    }

    .feature p {
        font-size: 0.85rem;
    }

    .experience-badge {
        bottom: 1rem;
        right: 1rem;
        padding: 1.2rem;
    }

    .exp-number {
        font-size: 2.2rem;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .service-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .service-icon svg {
        width: 36px;
        height: 36px;
    }

    .service-card h3 {
        font-size: 1.15rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }

    /* Projects */
    .projects-filter {
        gap: 0.5rem;
        margin-bottom: 2rem;
    }

    .filter-btn {
        padding: 0.5rem 1.1rem;
        font-size: 0.85rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 240px;
        gap: 1rem;
    }

    .project-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.1) 60%, transparent 100%);
        padding: 1.5rem;
    }

    .project-tag,
    .project-overlay h4,
    .project-overlay p {
        transform: translateY(0);
    }

    .project-overlay h4 {
        font-size: 1.15rem;
    }

    .project-overlay p {
        font-size: 0.85rem;
    }

    /* Testimonials */
    .testimonials-slider {
        min-height: 220px;
    }

    .testimonial-card p {
        font-size: 1.15rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }

    .stars {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .testimonial-author {
        flex-direction: row;
        gap: 0.8rem;
    }

    .author-avatar {
        width: 42px;
        height: 42px;
        font-size: 0.85rem;
    }

    .testimonial-author strong {
        font-size: 1rem;
    }

    .slider-dots {
        margin-top: 1.5rem;
    }

    .dot {
        width: 8px;
        height: 8px;
    }

    /* Contact */
    .contact-info h2 {
        font-size: 1.8rem;
    }

    .contact-actions {
        margin-top: 25px;
        gap: 15px;
    }

    .btn-instagram {
        font-size: 0.95rem;
        padding: 12px 20px;
    }

    .contact-item--card {
        padding: 12px 16px;
    }

    .contact-item--card p {
        font-size: 0.85rem;
    }

    .contact-map iframe {
        height: 220px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-brand .logo {
        justify-content: center;
    }

    .footer-brand p {
        margin: 0 auto;
        max-width: 100%;
    }

    footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-links h4 {
        margin-bottom: 1rem;
    }

    .footer-bottom {
        font-size: 0.8rem;
        padding-top: 1.5rem;
    }

    /* Instagram FAB */
    .instagram-fab {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
    }

    .instagram-fab svg {
        width: 24px;
        height: 24px;
    }

    /* Lightbox */
    .lightbox-content {
        max-width: 95%;
        max-height: 70vh;
        border-radius: 4px;
    }

    .lightbox-close {
        top: 12px;
        right: 15px;
        font-size: 32px;
    }

    .lightbox-prev,
    .lightbox-next {
        padding: 10px;
        font-size: 16px;
    }

    .lightbox-prev {
        left: 8px;
    }

    .lightbox-next {
        right: 8px;
    }

    .lightbox-caption {
        font-size: 14px;
        width: 90%;
        margin-top: 12px;
    }
}

/* --- Small Mobile (max-width: 480px) --- */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .section {
        padding: 3rem 0;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .hero h1 {
        font-size: 1.7rem;
        line-height: 1.25;
    }

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

    .hero-badge {
        font-size: 0.7rem;
        padding: 0.35rem 0.8rem;
    }

    .hero-buttons {
        max-width: 250px;
    }

    .btn {
        padding: 0.85rem 1rem;
        font-size: 0.9rem;
    }

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

    .about-desc {
        font-size: 0.9rem;
    }

    .service-card {
        padding: 1.5rem 1.2rem;
    }

    .projects-grid {
        grid-auto-rows: 200px;
    }

    .testimonial-card p {
        font-size: 1rem;
    }

    .contact-info h2 {
        font-size: 1.5rem;
    }

    .contact-map iframe {
        height: 200px;
    }

    .footer-grid {
        gap: 1.5rem;
    }

    .instagram-fab {
        bottom: 15px;
        right: 15px;
        width: 48px;
        height: 48px;
    }

    .instagram-fab svg {
        width: 22px;
        height: 22px;
    }
}