/* ============================================
   CLAVIA INTERIOR STUDIOS - Main Stylesheet
   ============================================ */

/* CSS Variables */
:root {
    --primary-gold: #B8926A;
    --primary-gold-light: #D4B896;
    --primary-gold-dark: #9A7856;
    --charcoal: #1A1A1A;
    --charcoal-light: #2D2D2D;
    --warm-white: #FAF8F5;
    --warm-cream: #F5F0E8;
    --text-dark: #1A1A1A;
    --text-light: #666666;
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --transition-slow: 0.8s ease;
}

/* ============================================
   BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    background: var(--warm-white);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    line-height: 1.2;
}

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

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

ul {
    list-style: none;
}

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

::-webkit-scrollbar-track {
    background: var(--warm-cream);
}

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

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

/* Selection */
::selection {
    background: var(--primary-gold);
    color: var(--charcoal);
}

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

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

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

.preloader-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    color: var(--primary-gold);
    letter-spacing: 8px;
    animation: pulse 1.5s ease-in-out infinite;
}

.preloader-bar {
    width: 200px;
    height: 2px;
    background: rgba(184, 146, 106, 0.2);
    margin: 2rem auto 0;
    overflow: hidden;
    border-radius: 2px;
}

.preloader-progress {
    height: 100%;
    background: var(--primary-gold);
    width: 0%;
    animation: loading 1.5s ease-in-out forwards;
}

@keyframes pulse {
    0%, 100% { opacity: 0.4; transform: scale(0.98); }
    50% { opacity: 1; transform: scale(1); }
}

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

/* ============================================
   NAVIGATION
   ============================================ */
.navbar-custom {
    background: transparent;
    padding: 1.5rem 0;
    transition: all 0.4s ease;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.navbar-custom.scrolled {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.navbar-brand-custom {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--warm-white) !important;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.navbar-brand-custom span {
    color: var(--primary-gold);
}

.nav-link-custom {
    color: var(--warm-white) !important;
    font-weight: 400;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    text-transform: uppercase;
    padding: 0.5rem 1.2rem !important;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link-custom::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--primary-gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link-custom:hover::after,
.nav-link-custom.active::after {
    width: 60%;
}

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

.navbar-toggler-custom {
    border: none;
    color: var(--warm-white);
    font-size: 1.5rem;
    padding: 0.5rem;
    background: transparent;
    cursor: pointer;
}

.navbar-toggler-custom:focus {
    outline: none;
    box-shadow: none;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-gold {
    background: var(--primary-gold);
    color: var(--charcoal);
    padding: 1rem 2.5rem;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
    border: none;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    display: inline-block;
    cursor: pointer;
}

.btn-gold::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.5s ease;
}

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

.btn-gold:hover {
    background: var(--primary-gold-dark);
    color: var(--warm-white);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(184, 146, 106, 0.3);
}

.btn-outline-gold {
    background: transparent;
    color: var(--warm-white);
    padding: 1rem 2.5rem;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
    border: 1px solid var(--primary-gold);
    transition: all 0.4s ease;
    display: inline-block;
    cursor: pointer;
}

.btn-outline-gold:hover {
    background: var(--primary-gold);
    color: var(--charcoal);
    transform: translateY(-2px);
}

.btn-dark {
    background: var(--charcoal);
    color: var(--warm-white);
    padding: 1rem 2.5rem;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
    border: none;
    transition: all 0.4s ease;
    display: inline-block;
    cursor: pointer;
}

.btn-dark:hover {
    background: var(--charcoal-light);
    transform: translateY(-2px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.85) 0%, rgba(26, 26, 26, 0.6) 100%),
                url('../images/hero-bg.jpg') center/cover no-repeat;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(184, 146, 106, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(184, 146, 106, 0.08) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 0 5%;
}

.hero-subtitle {
    font-size: 0.9rem;
    letter-spacing: 6px;
    color: var(--primary-gold);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    font-weight: 500;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.5s;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 300;
    color: var(--warm-white);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.7s;
}

.hero-title span {
    display: block;
    font-weight: 600;
    color: var(--primary-gold);
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 500px;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    font-weight: 300;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.9s;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 1.1s;
}

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

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 1.5s;
}

.scroll-indicator span {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 3px;
    color: var(--primary-gold);
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--primary-gold), transparent);
    margin: 0 auto;
    animation: scrollAnim 2s ease-in-out infinite;
}

@keyframes scrollAnim {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.5); opacity: 0.5; }
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 8rem 0;
}

.section-dark {
    background: var(--charcoal);
    color: var(--warm-white);
}

.section-cream {
    background: var(--warm-cream);
}

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

.section-subtitle {
    font-size: 0.85rem;
    letter-spacing: 5px;
    color: var(--primary-gold);
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: 500;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 400;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-title span {
    font-style: italic;
    font-weight: 300;
}

.section-line {
    width: 80px;
    height: 1px;
    background: var(--primary-gold);
    margin: 0 auto;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-image-wrapper {
    position: relative;
    padding: 2rem;
}

.about-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    filter: grayscale(20%);
    transition: filter 0.5s ease;
}

.about-image:hover {
    filter: grayscale(0%);
}

.about-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - 4rem);
    height: calc(100% - 4rem);
    border: 1px solid var(--primary-gold);
    margin: 2rem;
    pointer-events: none;
    transform: translate(1.5rem, 1.5rem);
}

.about-content {
    padding: 2rem 0 2rem 3rem;
}

.about-text {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.about-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
}

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

.stat-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--primary-gold);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-light);
    margin-top: 0.5rem;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--charcoal-light);
    padding: 3rem 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
    border: 1px solid transparent;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-gold);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

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

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(184, 146, 106, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
    transition: transform 0.5s ease;
}

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

.service-title {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--warm-white);
}

.service-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

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

.filter-btn {
    background: transparent;
    border: 1px solid var(--primary-gold);
    color: var(--text-dark);
    padding: 0.7rem 1.8rem;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Outfit', sans-serif;
}

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

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

.portfolio-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.portfolio-item.large {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
}

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

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

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(26, 26, 26, 0.9) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
}

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

.portfolio-category {
    font-size: 0.75rem;
    letter-spacing: 3px;
    color: var(--primary-gold);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.portfolio-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: var(--warm-white);
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.process-timeline {
    position: relative;
    padding: 2rem 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--primary-gold);
    transform: translateX(-50%);
}

.process-item {
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
    position: relative;
}

.process-item:last-child {
    margin-bottom: 0;
}

.process-item:nth-child(even) {
    flex-direction: row-reverse;
}

.process-content {
    width: 45%;
    padding: 2rem;
}

.process-item:nth-child(odd) .process-content {
    text-align: right;
}

.process-number {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: var(--primary-gold);
    color: var(--charcoal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 600;
    z-index: 1;
}

.process-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.process-desc {
    color: var(--text-light);
    line-height: 1.8;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonial-card {
    background: var(--warm-white);
    padding: 3rem;
    text-align: center;
    position: relative;
}

.testimonial-quote {
    font-size: 4rem;
    color: var(--primary-gold);
    opacity: 0.3;
    position: absolute;
    top: 1rem;
    left: 2rem;
    font-family: serif;
    line-height: 1;
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.9;
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-family: 'Cormorant Garamond', serif;
}

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

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-gold);
}

.testimonial-name {
    font-weight: 600;
    color: var(--text-dark);
}

.testimonial-role {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: var(--primary-gold);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
}

.carousel-control-prev {
    left: -80px;
}

.carousel-control-next {
    right: -80px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: var(--primary-gold-dark);
}

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

.contact-info {
    padding: 2rem 0;
}

.contact-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.contact-text {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(184, 146, 106, 0.1);
    border: 1px solid var(--primary-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
    flex-shrink: 0;
}

.contact-label {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-gold);
    margin-bottom: 0.3rem;
}

.contact-value {
    color: var(--warm-white);
    font-size: 1.1rem;
}

.contact-form {
    background: rgba(255, 255, 255, 0.03);
    padding: 3rem;
    border: 1px solid rgba(184, 146, 106, 0.2);
}

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

.form-input {
    width: 100%;
    padding: 1rem 1.5rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--warm-white);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-gold);
    background: rgba(184, 146, 106, 0.05);
}

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

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

select.form-input {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23B8926A' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

select.form-input option {
    background: var(--charcoal);
    color: var(--warm-white);
}

.form-submit {
    width: 100%;
    padding: 1.2rem;
    background: var(--primary-gold);
    color: var(--charcoal);
    border: none;
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.4s ease;
    font-family: 'Outfit', sans-serif;
}

.form-submit:hover {
    background: var(--primary-gold-light);
    transform: translateY(-2px);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--charcoal);
    padding: 5rem 0 2rem;
    border-top: 1px solid rgba(184, 146, 106, 0.2);
}

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

.footer-brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: var(--warm-white);
    margin-bottom: 1.5rem;
}

.footer-brand span {
    color: var(--primary-gold);
}

.footer-desc {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

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

.social-link {
    width: 45px;
    height: 45px;
    border: 1px solid rgba(184, 146, 106, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--warm-white);
    transition: all 0.3s ease;
}

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

.footer-title {
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--warm-white);
    margin-bottom: 1.5rem;
    font-family: 'Outfit', sans-serif;
}

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

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

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

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

.copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

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

/* Newsletter Form */
.newsletter-form {
    margin-top: 1rem;
}

.newsletter-form .form-input {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    padding: 0.8rem 1rem;
}

.newsletter-form .btn-gold {
    width: 100%;
    padding: 0.8rem;
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-gold);
    color: var(--charcoal);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(184, 146, 106, 0.4);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================
   PAGE HEADER (for inner pages)
   ============================================ */
.page-header {
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.85) 0%, rgba(26, 26, 26, 0.7) 100%),
                url('../images/page-header-bg.jpg') center/cover no-repeat;
}

.page-header-content {
    text-align: center;
    color: var(--warm-white);
    z-index: 10;
}

.page-header-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    margin-bottom: 1rem;
}

.breadcrumb-custom {
    display: flex;
    justify-content: center;
    gap: 1rem;
    font-size: 0.9rem;
}

.breadcrumb-custom a {
    color: var(--primary-gold);
}

.breadcrumb-custom span {
    color: rgba(255, 255, 255, 0.6);
}

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

/* Large Devices (1200px and below) */
@media (max-width: 1199px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-item.large {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .carousel-control-prev {
        left: -60px;
    }
    
    .carousel-control-next {
        right: -60px;
    }
}

/* Medium Devices (992px and below) */
@media (max-width: 991px) {
    .section {
        padding: 5rem 0;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .about-content {
        padding: 2rem 0;
    }
    
    .about-stats {
        justify-content: center;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Process Timeline - Mobile */
    .process-timeline::before {
        left: 30px;
    }
    
    .process-item,
    .process-item:nth-child(even) {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 80px;
    }
    
    .process-content {
        width: 100%;
        padding: 1.5rem 0;
    }
    
    .process-item:nth-child(odd) .process-content {
        text-align: left;
    }
    
    .process-number {
        left: 30px;
        transform: translateX(-50%);
    }
    
    /* Navbar Mobile Menu */
    .navbar-collapse {
        background: rgba(26, 26, 26, 0.98);
        padding: 2rem;
        margin-top: 1rem;
        border: 1px solid rgba(184, 146, 106, 0.2);
        border-radius: 4px;
    }
    
    .nav-link-custom {
        padding: 1rem 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-link-custom::after {
        display: none;
    }
    
    /* Carousel Controls */
    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
}

/* Small Devices (768px and below) */
@media (max-width: 767px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .btn-gold,
    .hero-buttons .btn-outline-gold {
        width: 100%;
        text-align: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .about-image-wrapper {
        padding: 1rem;
    }
    
    .about-frame {
        display: none;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .testimonial-card {
        padding: 2rem 1.5rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.7rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Extra Small Devices (576px and below) */
@media (max-width: 575px) {
    .navbar-brand-custom {
        font-size: 1.4rem;
    }
    
    .hero-subtitle {
        font-size: 0.75rem;
        letter-spacing: 4px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .btn-gold,
    .btn-outline-gold {
        padding: 0.8rem 1.5rem;
        font-size: 0.8rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .process-item,
    .process-item:nth-child(even) {
        padding-left: 60px;
    }
    
    .process-timeline::before {
        left: 20px;
    }
    
    .process-number {
        left: 20px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .process-title {
        font-size: 1.4rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .preloader-logo {
        font-size: 2rem;
        letter-spacing: 5px;
    }
}

/* Landscape phones */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        min-height: 100vh;
        padding: 100px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .scroll-indicator {
        display: none;
    }
}

/* High resolution screens */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Print Styles */
@media print {
    .preloader,
    .navbar-custom,
    .back-to-top,
    .scroll-indicator {
        display: none !important;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .hero-section {
        height: auto;
        min-height: auto;
        padding: 3rem 0;
    }
}
