/* ============================================
   THUMNALE DESIGN STUDIOS - MAIN STYLESHEET
   ============================================ */

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

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

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

body {
    font-family: 'Open Sans', sans-serif;
    background-color: #0F1419;
    color: #f5f5f5;
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}


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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Fira Sans', sans-serif;
    font-weight: 700;
    line-height: 1.1;
}

h1 {
    font-size: 4rem;
    font-weight: 900;
}

h2 {
    font-size: 3rem;
    font-weight: 800;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    line-height: 1.8;
}

.text-accent {
    color: #FF6B35;
}


/* ============================================
   LAYOUT UTILITIES
   ============================================ */

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}


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

.nav {
    position: sticky;
    top: 0;
    background-color: rgba(15, 20, 25, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 107, 53, 0.2);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Fira Sans', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: #fff;
    transition: opacity 0.3s ease;
}

.nav-logo:hover {
    opacity: 0.8;
}

.logo-placeholder {
    width: 40px;
    height: 40px;
    background-color: #FF6B35;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 900;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-family: 'Fira Sans', sans-serif;
    font-weight: 500;
    color: #a3a3a3;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-link.active {
    color: #FF6B35;
}

.nav-link-contact {
    background-color: #FF6B35;
    color: #fff;
    padding: 0.5rem 1.25rem;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease;
}

.nav-link-contact:hover {
    background-color: #FF8C5A;
}


/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-family: 'Fira Sans', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: #FF6B35;
    color: #fff;
}

.btn-primary:hover {
    background-color: #FF8C5A;
}

.btn-secondary {
    border: 2px solid #FF6B35;
    color: #FF6B35;
    background-color: transparent;
}

.btn-secondary:hover {
    background-color: rgba(255, 107, 53, 0.1);
}

.btn-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

.btn-icon {
    transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
    transform: translateX(2px);
}


/* ============================================
   HERO SECTION (HOME PAGE)
   ============================================ */

.hero {
    position: relative;
    background-color: #0A0E13;
    overflow: hidden;
    padding: 8rem 0 10rem;
}

.hero-fire-gradient {
    position: absolute;
    inset: 0;
    opacity: 0.3;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 107, 53, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 140, 90, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 87, 34, 0.3) 0%, transparent 40%),
        radial-gradient(circle at 70% 70%, rgba(255, 160, 100, 0.2) 0%, transparent 50%);
    animation: fireGradientPulse 8s ease-in-out infinite;
}

.hero-fire-texture {
    position: absolute;
    inset: 0;
    opacity: 0.2;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255, 107, 53, 0.8) 0%, transparent 2%),
        radial-gradient(circle at 90% 80%, rgba(255, 140, 90, 0.6) 0%, transparent 2%),
        radial-gradient(circle at 50% 50%, rgba(255, 87, 34, 0.7) 0%, transparent 1.5%),
        radial-gradient(circle at 30% 70%, rgba(255, 160, 100, 0.5) 0%, transparent 2%),
        radial-gradient(circle at 70% 30%, rgba(255, 107, 53, 0.6) 0%, transparent 1.5%),
        radial-gradient(circle at 20% 40%, rgba(255, 140, 90, 0.7) 0%, transparent 2%);
    background-size: 400px 400px, 500px 500px, 300px 300px, 450px 450px, 350px 350px, 380px 380px;
    animation: fireMove 20s ease-in-out infinite;
}

.hero-ember-particles {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='10' cy='10' r='1' fill='%23FF6B35' opacity='0.6'/%3E%3Ccircle cx='50' cy='30' r='1.5' fill='%23FF8C5A' opacity='0.4'/%3E%3Ccircle cx='80' cy='60' r='1' fill='%23FF6B35' opacity='0.5'/%3E%3Ccircle cx='30' cy='80' r='1.2' fill='%23FFA064' opacity='0.3'/%3E%3Ccircle cx='90' cy='20' r='0.8' fill='%23FF6B35' opacity='0.6'/%3E%3C/svg%3E");
    background-size: 100px 100px;
    animation: emberFloat 15s linear infinite, emberFade 15s ease-in-out infinite;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, transparent 50%, #0A0E13 100%);
    animation: overlayPulse 6s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-title {
    font-size: 6rem;
    margin-bottom: 2rem;
    color: #fff;
    line-height: 0.95;
}

.hero-description {
    font-size: 1.5rem;
    color: #a3a3a3;
    margin-bottom: 2rem;
    line-height: 1.5;
}

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

.hero-logo-wrapper {
    display: none;
    justify-content: center;
    position: relative;
}

.hero-logo-glow {
    position: absolute;
    inset: 0;
    background-color: #FF6B35;
    filter: blur(60px);
    opacity: 0.2;
    animation: logoGlowPulse 4s ease-in-out infinite;
}

.hero-logo {
    width: 384px;
    height: 384px;
    background-color: #FF6B35;
    border-radius: 1rem;
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 900;
    font-size: 9rem;
}


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

.services-preview {
    padding: 6rem 0;
    background-color: #0F1419;
    position: relative;
}

.services-bg-grid {
    position: absolute;
    inset: 0;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PHBhdHRlcm4gaWQ9ImdyaWQiIHdpZHRoPSI2MCIgaGVpZ2h0PSI2MCIgcGF0dGVyblVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHBhdGggZD0iTSAxMCAwIEwgMCAwIDAgMTAiIGZpbGw9Im5vbmUiIHN0cm9rZT0iI0ZGNkIzNSIgc3Ryb2tlLW9wYWNpdHk9IjAuMDUiIHN0cm9rZS13aWR0aD0iMSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNncmlkKSIvPjwvc3ZnPg==');
    opacity: 0.3;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 10;
}

.section-title {
    font-size: 3.75rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.section-description {
    font-size: 1.25rem;
    color: #a3a3a3;
    max-width: 48rem;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    position: relative;
    z-index: 10;
}

.service-card {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    background-color: #1A2028;
    border: 1px solid rgba(255, 107, 53, 0.2);
    transition: border-color 0.3s ease;
}

.service-card:hover {
    border-color: #FF6B35;
}

.service-image-wrapper {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.service-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #0A0E13 0%, rgba(10, 14, 19, 0.5) 50%, transparent 100%);
    z-index: 10;
    opacity: 0.6;
    transition: opacity 0.5s ease;
}

.service-card:hover .service-image-overlay {
    opacity: 0.8;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image {
    transform: scale(1.03);
}

.service-content {
    padding: 1.5rem;
    position: relative;
}

.service-icon {
    color: #FF6B35;
    margin-bottom: 1rem;
}

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

.service-description {
    color: #a3a3a3;
    margin-bottom: 1rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #FF6B35;
    transition: gap 0.3s ease;
}

.service-card:hover .service-link {
    gap: 0.75rem;
}

.service-link-icon {
    transition: transform 0.3s ease;
}


/* ============================================
   STATEMENT SECTION
   ============================================ */

.statement-section {
    padding: 6rem 0;
    background-color: #0A0E13;
    position: relative;
    overflow: hidden;
}

.statement-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}

.statement-content {
    text-align: center;
    position: relative;
    z-index: 10;
}

.statement-title {
    font-size: 4.5rem;
    margin-bottom: 2rem;
    color: #fff;
    line-height: 1.2;
}

.statement-description {
    font-size: 1.5rem;
    color: #d1d5db;
    margin-bottom: 3rem;
    line-height: 1.5;
}


/* ============================================
   PAGE HERO (ABOUT, SERVICES, PORTFOLIO, CONTACT)
   ============================================ */

.page-hero {
    padding: 6rem 0;
    background-color: #0A0E13;
    position: relative;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}

.page-hero-content {
    max-width: 64rem;
    position: relative;
    z-index: 10;
}

.page-hero-title {
    font-size: 6rem;
    margin-bottom: 2rem;
    color: #fff;
    line-height: 1.1;
}

.page-hero-description {
    font-size: 1.5rem;
    color: #d1d5db;
    line-height: 1.5;
}


/* ============================================
   STATS SECTION (ABOUT PAGE)
   ============================================ */

.stats-section {
    padding: 6rem 0;
    background-color: #0F1419;
}

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

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

.stat-number {
    font-family: 'Cormorant', serif;
    font-style: italic;
    font-weight: 600;
    font-size: 4.5rem;
    color: #FF6B35;
    margin-bottom: 0.75rem;
}

.stat-suffix {
    font-family: 'Cormorant', serif;
    font-style: italic;
}

.stat-label {
    font-size: 1.125rem;
    color: #a3a3a3;
}


/* ============================================
   STORY SECTION (ABOUT PAGE)
   ============================================ */

.story-section {
    padding: 6rem 0;
    background-color: #0A0E13;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.story-title {
    font-size: 3.75rem;
    margin-bottom: 2rem;
    color: #fff;
}

.story-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.story-text p {
    font-size: 1.125rem;
    color: #a3a3a3;
    line-height: 1.8;
}

.story-image-wrapper {
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(255, 107, 53, 0.2);
}

.story-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}


/* ============================================
   VALUES SECTION (ABOUT PAGE)
   ============================================ */

.values-section {
    padding: 6rem 0;
    background-color: #0F1419;
}

.section-title-centered {
    font-size: 3.75rem;
    margin-bottom: 4rem;
    color: #fff;
    text-align: center;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.value-card {
    background-color: #1A2028;
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.value-card:hover {
    border-color: #FF6B35;
    transform: translateY(-4px);
}

.value-icon {
    width: 64px;
    height: 64px;
    background-color: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF6B35;
    margin-bottom: 1.5rem;
}

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

.value-description {
    color: #a3a3a3;
    line-height: 1.8;
}


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

.team-cta-section {
    padding: 6rem 0;
    background-color: #0A0E13;
    position: relative;
    overflow: hidden;
}

.team-cta-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1;
}

.team-cta-content {
    text-align: center;
    position: relative;
    z-index: 10;
}

.team-cta-title {
    font-size: 4.5rem;
    margin-bottom: 2rem;
    color: #fff;
    line-height: 1.2;
}

.team-cta-description {
    font-size: 1.5rem;
    color: #d1d5db;
    margin-bottom: 3rem;
    line-height: 1.5;
}


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

.services-detail-section {
    padding: 6rem 0;
    background-color: #0F1419;
}

.service-detail {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 6rem;
}

.service-detail:last-child {
    margin-bottom: 0;
}

.service-detail-icon {
    color: #FF6B35;
    margin-bottom: 1.5rem;
}

.service-detail-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.service-detail-description {
    font-size: 1.25rem;
    color: #a3a3a3;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.service-detail-list {
    list-style: none;
    margin-bottom: 2rem;
}

.service-detail-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    color: #d1d5db;
    position: relative;
}

.service-detail-list li:before {
    content: "→";
    color: #FF6B35;
    position: absolute;
    left: 0;
    font-weight: 700;
}

.service-detail-image-wrapper {
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(255, 107, 53, 0.2);
}

.service-detail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}


/* ============================================
   PROCESS SECTION (SERVICES PAGE)
   ============================================ */

.process-section {
    padding: 6rem 0;
    background-color: #0A0E13;
}

.process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.process-step {
    background-color: #1A2028;
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    transition: border-color 0.3s ease;
}

.process-step:hover {
    border-color: #FF6B35;
}

.process-number {
    font-family: 'Cormorant', serif;
    font-style: italic;
    font-weight: 600;
    font-size: 3rem;
    color: #FF6B35;
    margin-bottom: 1rem;
}

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

.process-description {
    color: #a3a3a3;
    line-height: 1.8;
}


/* ============================================
   PORTFOLIO FILTER SECTION
   ============================================ */

.portfolio-filter-section {
    padding: 3rem 0;
    background-color: #0F1419;
    border-bottom: 1px solid rgba(255, 107, 53, 0.2);
}

.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-family: 'Fira Sans', sans-serif;
    font-weight: 500;
    background-color: #242B35;
    color: #a3a3a3;
    border: 1px solid rgba(255, 107, 53, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-btn:hover {
    background-color: #2A3340;
    color: #fff;
}

.filter-btn-active {
    background-color: #FF6B35;
    color: #fff;
    border-color: #FF6B35;
}


/* ============================================
   PORTFOLIO GRID SECTION
   ============================================ */

.portfolio-grid-section {
    padding: 6rem 0;
    background-color: #0F1419;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.portfolio-item {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(255, 107, 53, 0.2);
    transition: border-color 0.3s ease;
}

.portfolio-item:hover {
    border-color: #FF6B35;
}

.portfolio-image-wrapper {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.05);
    opacity: 0.4;
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 14, 19, 0.95) 0%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.5s ease;
}

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

.portfolio-overlay-content {
    width: 100%;
}

.portfolio-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: rgba(255, 107, 53, 0.2);
    color: #FF6B35;
    border: 1px solid #FF6B35;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.portfolio-overlay-title {
    font-size: 1.75rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.portfolio-overlay-description {
    color: #d1d5db;
}


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

.contact-section {
    padding: 6rem 0;
    background-color: #0F1419;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.contact-info-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.contact-info-description {
    color: #a3a3a3;
    margin-bottom: 2rem;
    line-height: 1.8;
}

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

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

.contact-info-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(255, 107, 53, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF6B35;
    border: 1px solid rgba(255, 107, 53, 0.2);
}

.contact-info-item-title {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: #fff;
}

.contact-info-item-value {
    color: #a3a3a3;
}

.contact-hours {
    margin-top: 3rem;
    padding: 1.5rem;
    background-color: #1A2028;
    border-radius: 1rem;
    border: 1px solid rgba(255, 107, 53, 0.2);
    transition: border-color 0.3s ease;
}

.contact-hours:hover {
    border-color: rgba(255, 107, 53, 0.4);
}

.contact-hours-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #fff;
}

.contact-hours-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: #a3a3a3;
}

.contact-form-wrapper {
    background-color: #1A2028;
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid rgba(255, 107, 53, 0.2);
}

.contact-form-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    color: #d1d5db;
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 107, 53, 0.2);
    background-color: #0F1419;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #FF6B35;
}

.form-textarea {
    resize: none;
}

.form-select {
    cursor: pointer;
}

.form-success {
    display: none;
    background-color: rgba(255, 107, 53, 0.1);
    border: 1px solid #FF6B35;
    color: #FF6B35;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
}

.form-success.form-error {
    background-color: rgba(220, 38, 38, 0.1);
    border-color: #dc2626;
    color: #ef4444;
}


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

.footer {
    background-color: #0A0E13;
    border-top: 1px solid rgba(255, 107, 53, 0.2);
    padding: 4rem 0 2rem;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Fira Sans', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 1rem;
}

.footer-tagline {
    color: #a3a3a3;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-heading {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #fff;
}

.footer-menu {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-menu a {
    color: #a3a3a3;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: #FF6B35;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 107, 53, 0.2);
    text-align: center;
    color: #a3a3a3;
}


/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fireGradientPulse {
    0%, 100% { opacity: 0.2; }
    25% { opacity: 0.4; }
    50% { opacity: 0.3; }
    75% { opacity: 0.4; }
}

@keyframes fireMove {
    0%, 100% {
        background-position: 0% 0%, 100% 100%, 50% 50%, 30% 70%, 70% 30%, 20% 40%;
    }
    25% {
        background-position: 20% 10%, 90% 80%, 60% 40%, 40% 60%, 80% 20%, 30% 50%;
    }
    50% {
        background-position: 10% 20%, 80% 90%, 40% 60%, 20% 80%, 60% 40%, 10% 30%;
    }
    75% {
        background-position: 30% 15%, 95% 85%, 70% 35%, 50% 70%, 75% 25%, 25% 45%;
    }
}

@keyframes emberFloat {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

@keyframes emberFade {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.5; }
}

@keyframes overlayPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.5; }
}

@keyframes logoGlowPulse {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(1.2); }
}


/* ============================================
   MEDIA QUERIES - TABLET (768px and up)
   ============================================ */

@media (min-width: 768px) {
    /* Typography */
    h1 { font-size: 5.5rem; }
    h2 { font-size: 3.75rem; }
    
    /* Layout */
    .container { padding: 0 1.5rem; }
    
    /* Navigation */
    .nav { padding: 1.25rem 0; }
    
    /* Hero */
    .hero { padding: 10rem 0 12rem; }
    .hero-title { font-size: 7rem; }
    .hero-description { font-size: 2rem; }
    
    /* Services Grid */
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    
    /* Page Hero */
    .page-hero-title { font-size: 7rem; }
    .page-hero-description { font-size: 2rem; }
    
    /* Stats Grid */
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 4rem;
    }
    
    /* Values Grid */
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    
    /* Service Detail */
    .service-detail {
        grid-template-columns: repeat(2, 1fr);
        gap: 4rem;
    }
    
    /* Process Grid */
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    
    /* Portfolio Grid */
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    
    /* Contact Grid */
    .contact-grid { grid-template-columns: 1fr 2fr; }
    
    /* Form Row */
    .form-row { grid-template-columns: repeat(2, 1fr); }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr 2fr;
        gap: 4rem;
    }
}


/* ============================================
   MEDIA QUERIES - DESKTOP (1024px and up)
   ============================================ */

@media (min-width: 1024px) {
    /* Typography */
    h1 { font-size: 6rem; }
    h2 { font-size: 4.5rem; }
    
    /* Hero */
    .hero-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-logo-wrapper { display: flex; }
    
    /* Services Grid */
    .services-grid { grid-template-columns: repeat(3, 1fr); }
    
    /* Story Grid */
    .story-grid { grid-template-columns: repeat(2, 1fr); }
    
    /* Values Grid */
    .values-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
    
    /* Service Detail Reverse */
    .service-detail-reverse {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-detail-reverse .service-detail-content {
        order: 2;
    }
    
    .service-detail-reverse .service-detail-image-wrapper {
        order: 1;
    }
    
    /* Process Grid */
    .process-grid { grid-template-columns: repeat(4, 1fr); }
    
    /* Portfolio Grid */
    .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
}


/* ============================================
   MEDIA QUERIES - LARGE DESKTOP (1280px and up)
   ============================================ */

@media (min-width: 1280px) {
    /* Container */
    .container { padding: 0 2rem; }
}


/* ============================================
   MEDIA QUERIES - MOBILE (max 767px)
   ============================================ */

@media (max-width: 767px) {
    /* Typography */
    h1 { font-size: 3rem; }
    h2 { font-size: 2.5rem; }
    h3 { font-size: 1.25rem; }
    
    /* Navigation */
    .nav-menu {
        gap: 1rem;
        font-size: 0.875rem;
    }
    
    .nav-link-contact {
        padding: 0.375rem 0.875rem;
    }
    
    /* Hero */
    .hero { padding: 6rem 0 8rem; }
    .hero-title { font-size: 3rem; }
    .hero-description { font-size: 1.125rem; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .btn { width: 100%; justify-content: center; }
    
    /* Section Titles */
    .section-title { font-size: 2.5rem; }
    .section-description { font-size: 1rem; }
    .section-title-centered { font-size: 2.5rem; }
    
    /* Page Hero */
    .page-hero { padding: 4rem 0; }
    .page-hero-title { font-size: 3rem; }
    .page-hero-description { font-size: 1.125rem; }
    
    /* Statement Section */
    .statement-title { font-size: 2.5rem; }
    .statement-description { font-size: 1.125rem; }
    
    /* Stats */
    .stat-number { font-size: 3rem; }
    
    /* Story */
    .story-title { font-size: 2.5rem; }
    .story-text p { font-size: 1rem; }
    
    /* Service Detail */
    .service-detail-title { font-size: 2rem; }
    .service-detail-description { font-size: 1rem; }
    
    /* Team CTA */
    .team-cta-title { font-size: 2.5rem; }
    .team-cta-description { font-size: 1.125rem; }
    
    /* Process Number */
    .process-number { font-size: 2.5rem; }
    
    /* Footer Links */
    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}