/* ============================================
   THE RISING SUN - Premium Landing Page Styles
   ============================================ */

/* === CSS Variables === */
:root {
    /* Brand Colors - Matching Business Card */
    --gold-primary: #D4A84B;
    --gold-light: #E5C97B;
    --gold-dark: #C49A3D;
    --gold-gradient: linear-gradient(135deg, #E5C97B 0%, #D4A84B 50%, #C49A3D 100%);

    /* Dark Navy Theme - Matching Business Card */
    --black-pure: #060F18;
    --black-rich: #0D1B2A;
    --black-soft: #0F2137;
    --charcoal: #152642;
    --charcoal-light: #1B3252;

    /* Text Colors */
    --white: #FFFFFF;
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);

    /* WhatsApp Green */
    --whatsapp-green: #25D366;

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Montserrat', 'Helvetica Neue', sans-serif;

    /* Spacing */
    --section-padding: 100px;
    --container-padding: 5%;

    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --transition-slow: 0.8s ease;

    /* Shadows */
    --shadow-gold: 0 0 30px rgba(212, 168, 75, 0.3);
    --shadow-dark: 0 10px 40px rgba(0, 0, 0, 0.3);
}

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

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

body {
    font-family: var(--font-body);
    background-color: var(--black-rich);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--black-soft);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-primary);
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
}

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

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

/* === Utility Classes === */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.gold-line {
    width: 60px;
    height: 2px;
    background: var(--gold-gradient);
    margin: 0 auto;
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.btn svg {
    width: 18px;
    height: 18px;
}

.btn-primary {
    background: var(--gold-gradient);
    color: var(--black-rich);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

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

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--black-rich);
}

.btn-full {
    width: 100%;
}

/* === Preloader === */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--black-rich);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

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

.preloader-logo {
    width: 200px;
    margin-bottom: 30px;
    animation: pulse 2s ease-in-out infinite;
}

.preloader-bar {
    width: 200px;
    height: 2px;
    background: var(--charcoal);
    border-radius: 2px;
    overflow: hidden;
}

.preloader-bar::after {
    content: '';
    display: block;
    width: 0;
    height: 100%;
    background: var(--gold-gradient);
    animation: loading 1.5s ease-in-out forwards;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes loading {
    0% { width: 0; }
    100% { width: 100%; }
}

/* === Navigation === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition-medium);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.nav-logo img {
    height: 125px;
    width: auto;
    transition: var(--transition-fast);
}

.navbar.scrolled .nav-logo img {
    height: 80px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold-primary);
    transition: width var(--transition-fast);
}

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

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

.nav-cta {
    padding: 12px 24px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-primary);
    border: 1px solid var(--gold-primary);
    transition: var(--transition-fast);
}

.nav-cta:hover {
    background: var(--gold-primary);
    color: var(--black-rich);
}

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

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: var(--transition-fast);
}

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

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

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

/* === Hero Section === */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    animation: heroZoom 20s ease-in-out infinite alternate;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 10, 0.5) 0%,
        rgba(10, 10, 10, 0.6) 50%,
        rgba(10, 10, 10, 0.9) 100%
    );
}

.hero-content {
    text-align: center;
    padding: 0 20px;
    max-width: 900px;
}

.hero-logo {
    width: 180px;
    margin: 0 auto 30px;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.3));
    opacity: 0;
    transform: scale(0.9);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 400;
    margin-bottom: 20px;
    letter-spacing: 0.02em;
    opacity: 0;
    transform: translateY(30px);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 300;
    color: var(--text-secondary);
    letter-spacing: 0.15em;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    opacity: 0;
    transform: translateY(30px);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--gold-primary);
    border-bottom: 2px solid var(--gold-primary);
    transform: rotate(45deg);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50% { transform: rotate(45deg) translateY(10px); }
}

/* === Brand Statement === */
.statement {
    padding: 120px 0;
    background: var(--black-soft);
    text-align: center;
}

.statement-content {
    max-width: 800px;
    margin: 0 auto;
}

.statement .gold-line {
    margin: 30px auto;
}

.statement-text {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 400;
    font-style: italic;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}

/* === Section Headers === */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-primary);
    margin-bottom: 15px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 400;
}

/* === Services Section === */
.services {
    padding: var(--section-padding) 0;
    background: var(--black-rich);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    position: relative;
    height: 500px;
    overflow: hidden;
    cursor: pointer;
}

.service-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform var(--transition-slow);
}

.service-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10, 10, 10, 0.95) 0%,
        rgba(10, 10, 10, 0.7) 50%,
        rgba(10, 10, 10, 0.5) 100%
    );
    transition: var(--transition-medium);
}

.service-card:hover .service-bg {
    transform: scale(1.1);
}

.service-card:hover .service-bg::after {
    background: linear-gradient(
        to top,
        rgba(10, 10, 10, 0.9) 0%,
        rgba(10, 10, 10, 0.6) 50%,
        rgba(10, 10, 10, 0.4) 100%
    );
}

.service-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
}

.service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.service-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--gold-primary);
}

.service-title {
    font-size: 1.75rem;
    margin-bottom: 15px;
    color: var(--white);
}

.service-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-primary);
}

.service-link svg {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-fast);
}

.service-link:hover svg {
    transform: translateX(5px);
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gold-gradient);
    transition: width var(--transition-medium);
}

.service-card:hover::after {
    width: 100%;
}

/* === Portfolio Section === */
.portfolio {
    padding: var(--section-padding) 0;
    background: var(--charcoal);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 30px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition-fast);
}

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

.portfolio-grid {
    columns: 3;
    column-gap: 20px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    margin-bottom: 20px;
    break-inside: avoid;
    border-radius: 4px;
}

.portfolio-item.large {
    /* In masonry, large items just display naturally */
}

.portfolio-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-slow);
}

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

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10, 10, 10, 0.9) 0%,
        rgba(10, 10, 10, 0.3) 50%,
        transparent 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: var(--transition-medium);
}

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

.portfolio-category {
    display: inline-block;
    padding: 5px 15px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--black-rich);
    background: var(--gold-primary);
    margin-bottom: 10px;
    width: fit-content;
}

.portfolio-title {
    font-size: 1.25rem;
    font-family: var(--font-heading);
    margin-bottom: 15px;
}

.portfolio-view {
    padding: 10px 20px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    background: transparent;
    border: 1px solid var(--white);
    cursor: pointer;
    transition: var(--transition-fast);
    width: fit-content;
}

.portfolio-view:hover {
    background: var(--white);
    color: var(--black-rich);
}

.portfolio-item.hidden {
    display: none;
}

/* === Lightbox === */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-medium);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    font-size: 2rem;
    color: var(--white);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.lightbox-close:hover {
    color: var(--gold-primary);
    transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--gold-primary);
    color: var(--black-rich);
}

.lightbox-content {
    max-width: 90%;
    max-height: 80%;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.lightbox-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.875rem;
    color: var(--text-secondary);
    letter-spacing: 0.1em;
}

/* === Stats Section === */
.stats {
    position: relative;
    padding: 150px 0;
    overflow: hidden;
}

.stats-background {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.stats-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stats-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.85);
}

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

.stats-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 60px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

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

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 400;
    color: var(--gold-primary);
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--gold-primary);
}

.stat-label {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-top: 15px;
}

/* === Process Section === */
.process {
    padding: var(--section-padding) 0;
    background: var(--black-soft);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 35px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        var(--gold-primary) 20%,
        var(--gold-primary) 80%,
        transparent
    );
}

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

.step-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 400;
    color: var(--gold-primary);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 30px;
}

.step-content {
    padding-top: 30px;
    border-top: 2px solid var(--charcoal);
}

.step-title {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--white);
}

.step-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* === Contact Section === */
.contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

.contact-info {
    background: var(--charcoal);
    padding: 80px;
    display: flex;
    align-items: center;
}

.contact-info-content {
    max-width: 450px;
}

.contact-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 15px;
}

.contact-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--charcoal-light);
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--gold-primary);
}

.contact-icon.whatsapp svg {
    fill: var(--whatsapp-green);
    stroke: none;
    width: 24px;
    height: 24px;
}

.contact-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.contact-value {
    font-size: 1rem;
    color: var(--text-primary);
}

.contact-value:hover {
    color: var(--gold-primary);
}

.contact-form-section {
    background: var(--black-rich);
    padding: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-form {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-group {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 18px 0;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-primary);
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--charcoal-light);
    transition: var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-bottom-color: var(--gold-primary);
}

.form-label {
    position: absolute;
    left: 0;
    top: 18px;
    font-size: 0.875rem;
    color: var(--text-muted);
    pointer-events: none;
    transition: var(--transition-fast);
}

.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
    top: -5px;
    font-size: 0.7rem;
    color: var(--gold-primary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23D4AF37' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
}

.form-select option {
    background: var(--charcoal);
    color: var(--text-primary);
}

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

/* === Footer === */
.footer {
    padding: 80px 0 30px;
    background: var(--black-pure);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    width: 150px;
    margin-bottom: 20px;
}

.footer-tagline {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.footer-heading {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-primary);
    margin-bottom: 25px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--gold-primary);
}

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

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--charcoal);
    border-radius: 50%;
    transition: var(--transition-fast);
}

.social-link svg {
    width: 18px;
    height: 18px;
    fill: var(--text-secondary);
    transition: var(--transition-fast);
}

.social-link:hover {
    background: var(--gold-primary);
}

.social-link:hover svg {
    fill: var(--black-rich);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--charcoal);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* === Floating Buttons === */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.floating-btn {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-dark);
}

.floating-btn svg {
    width: 24px;
    height: 24px;
}

.whatsapp-btn {
    background: var(--whatsapp-green);
    animation: pulse-whatsapp 2s ease-in-out infinite;
}

.whatsapp-btn svg {
    fill: var(--white);
}

@keyframes pulse-whatsapp {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
}

.phone-btn {
    background: var(--gold-gradient);
    display: none;
}

.phone-btn svg {
    stroke: var(--black-rich);
}

.scroll-top-btn {
    background: var(--charcoal);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn svg {
    stroke: var(--gold-primary);
}

.scroll-top-btn:hover {
    background: var(--gold-primary);
}

.scroll-top-btn:hover svg {
    stroke: var(--black-rich);
}

/* === Responsive Design === */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card:last-child {
        grid-column: span 2;
    }

    .portfolio-grid {
        columns: 2;
    }

    .portfolio-item.large {
        /* Masonry handles sizing */
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }

    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }

    .process-timeline::before {
        display: none;
    }

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

@media (max-width: 992px) {
    :root {
        --section-padding: 80px;
    }

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

    .contact-info,
    .contact-form-section {
        padding: 60px 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--black-rich);
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        transition: right var(--transition-medium);
    }

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

    .nav-link {
        font-size: 1.25rem;
    }

    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    /* Hero */
    .hero-logo {
        width: 140px;
    }

    .hero-cta-group {
        flex-direction: column;
    }

    .hero-cta-group .btn {
        width: 100%;
        max-width: 280px;
    }

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

    .service-card,
    .service-card:last-child {
        grid-column: span 1;
        height: 400px;
    }

    /* Portfolio */
    .portfolio-grid {
        columns: 1;
    }

    .portfolio-item,
    .portfolio-item.large {
        /* Single column on mobile */
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    /* Process */
    .process-timeline {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .footer-logo {
        margin: 0 auto 20px;
    }

    .social-links {
        justify-content: center;
    }

    /* Floating buttons */
    .phone-btn {
        display: flex;
    }

    .floating-buttons {
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    :root {
        --container-padding: 20px;
    }

    .hero-logo {
        width: 120px;
    }

    .statement {
        padding: 80px 0;
    }

    .contact-info,
    .contact-form-section {
        padding: 40px 20px;
    }

    .lightbox-close {
        top: 15px;
        right: 15px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
    }
}

/* === Reduced Motion === */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .hero-bg-image {
        animation: none;
        transform: scale(1);
    }
}

/* === Animation Classes (for JS) === */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
}

.fade-up.animated {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in {
    opacity: 0;
}

.fade-in.animated {
    opacity: 1;
    transition: opacity 0.8s ease;
}
