:root {
    --burgundy: #800020;
    --beige-light: #F9F7F2;
    --beige-dark: #D4C4A8;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #2D2D2D;
    line-height: 1.8;
}

.serif { font-family: 'Playfair Display', serif; }

/* Text & Theme */
.text-burgundy { color: var(--burgundy) !important; }
.bg-burgundy { background-color: var(--burgundy) !important; }
.bg-beige-light { background-color: var(--beige-light); }
.tracking-widest { letter-spacing: 3px; font-size: 0.75rem; }

/* Navigation */
.nav-link:hover { color: var(--burgundy) !important; }

/* Buttons */
.btn-burgundy {
    background-color: var(--burgundy);
    color: white;
    border-radius: 0;
    transition: 0.4s;
}

.btn-outline-burgundy {
    border: 1px solid var(--burgundy);
    color: var(--burgundy);
    border-radius: 0;
    transition: 0.4s;
}

.btn-outline-burgundy:hover {
    background-color: var(--burgundy);
    color: white;
}

/* Hero - Mimicking Aleit's clean split layout */
.hero-wrap {
    min-height: 85vh;
}

.hero-main-img {
    height: 85vh;
    width: 100%;
    object-fit: cover;
    /* Clean corporate cut */
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
}

/* BRAND POSITIONING STRIP STYLES */
.brand-positioning-strip {
    background: linear-gradient(rgba(128, 0, 32, 0.97), rgba(128, 0, 32, 0.97)), 
                url('https://www.transparenttextures.com/patterns/dark-leather.png'); /* Subtle texture for luxury feel */
}

.text-beige-dark {
    color: #D4C4A8 !important; /* Gold-toned beige for a premium contrast with burgundy */
}

.tracking-tight {
    letter-spacing: -1px;
}

.positioning-text .lead {
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.positioning-text h2 {
    font-size: 2.8rem;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .positioning-text h2 {
        font-size: 2rem;
    }
    .positioning-text .lead {
        font-size: 1.2rem;
    }
}

/* SERVICES OVERVIEW SPECIFIC */
.service-blocks .border-bottom {
    transition: all 0.3s ease;
}

.service-blocks .border-bottom:hover {
    border-color: var(--burgundy) !important;
    padding-left: 10px;
}

.grayscale-hover {
    filter: grayscale(100%);
    transition: all 0.6s ease;
    object-fit: cover;
    height: 300px;
    width: 100%;
}

.grayscale-hover:hover {
    filter: grayscale(0%);
    transform: scale(1.02);
}

.tracking-widest {
    letter-spacing: 0.15rem;
}

.btn-outline-burgundy {
    border: 1px solid var(--burgundy);
    color: var(--burgundy);
    border-radius: 0;
    transition: 0.4s;
}

.btn-outline-burgundy:hover {
    background-color: var(--burgundy);
    color: white;
}

/* Animations */
.animate-slide-in {
    animation: slideInLeft 1s ease-out;
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 991px) {
    .hero-main-img {
        clip-path: none;
        height: 400px;
    }
}

/* FOOTER SPECIFIC STYLES */
.footer-links a {
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.footer-links a:hover {
    color: var(--burgundy) !important;
    padding-left: 5px;
    border-bottom: 1px solid var(--burgundy);
}

.social-links a {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

.social-links a:hover {
    transform: translateY(-3px);
    color: var(--burgundy-dark);
}

.footer-contact i {
    width: 20px;
}

/* Ensure font weight for headings matches Aleit style */
footer h6 {
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: #000;
}


/* SERVICE GRID STYLING */
.service-card {
    background: #fff;
    border-radius: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: none;
}

.service-img-wrap {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.service-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.8) contrast(1.1);
    transition: transform 0.8s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

.service-card:hover img {
    transform: scale(1.1);
}

.extra-small {
    font-size: 0.8rem;
    line-height: 1.6;
}

.border-burgundy {
    border-color: var(--burgundy) !important;
}

/* FEATURED WORK STYLES */
.portfolio-item {
    position: relative;
    overflow: hidden;
    height: 400px; /* Fixed height for consistency */
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(128, 0, 32, 0.9) 0%, rgba(0, 0, 0, 0) 60%);
    display: flex;
    align-items: flex-end;
    padding: 40px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.overlay-content {
    color: #fff;
    transform: translateY(20px);
    transition: transform 0.5s ease;
}

.portfolio-item:hover .overlay-content {
    transform: translateY(0);
}

.portfolio-link {
    text-decoration: none;
    color: var(--burgundy);
    position: relative;
    transition: 0.3s;
}

.portfolio-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -5px;
    left: 0;
    background-color: var(--burgundy);
    transition: width 0.3s ease;
}

.portfolio-link:hover:after {
    width: 100%;
}

/* WHY MILEYN SPECIFIC STYLES */
.value-card {
    background-color: #fff;
    border: 1px solid #f0f0f0;
    transition: all 0.4s ease;
}

.value-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-color: var(--burgundy);
    transform: translateY(-5px);
}

.value-icon {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.value-card:hover .value-icon {
    opacity: 1;
}

.border-start-burgundy {
    border-left: 3px solid var(--burgundy) !important;
}

.extra-small {
    font-size: 0.85rem;
    line-height: 1.6;
}

/* FINAL CTA STYLES */
.bg-burgundy {
    background-color: #800020 !important;
}

.text-beige-dark {
    color: #D4C4A8 !important;
}

/* Primary Proposal Button */
.btn-beige {
    background-color: #D4C4A8;
    color: #800020;
    border-radius: 0;
    transition: all 0.4s ease;
}

.btn-beige:hover {
    background-color: #fff;
    color: #800020;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Secondary WhatsApp Button */
.btn-outline-light {
    border-radius: 0;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.4s ease;
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    transform: translateY(-3px);
}

.tracking-widest {
    letter-spacing: 0.15rem;
}

/* ABOUT PAGE EXTENSIONS */
.bg-beige-light {
    background-color: #F9F7F2;
}

.italic-lead {
    font-size: 1.25rem;
    font-family: 'Playfair Display', serif; /* Or your chosen serif font */
    font-style: italic;
    color: #555;
}

.approach-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.approach-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05) !important;
}

.step-number {
    font-size: 3.5rem;
    line-height: 1;
}

.extra-small {
    font-size: 0.85rem;
    line-height: 1.6;
}

/* SERVICES PAGE OVERRIDES */
.text-beige-dark {
    color: #D4C4A8 !important;
}

.tracking-tight {
    letter-spacing: -0.05em;
}

.display-6 {
    font-size: 2.2rem;
    line-height: 1.1;
}

/* Optional texture for the positioning strip */
.bg-burgundy {
    background-color: #800020 !important;
    background-image: url('https://www.transparenttextures.com/patterns/dark-leather.png');
}

@media (max-width: 768px) {
    .display-3 {
        font-size: 2.5rem;
    }
}

/* SERVICE CATEGORY STYLING */
.mb-100 {
    margin-bottom: 120px;
}

.service-image-wrapper {
    position: relative;
    overflow: visible;
}

.service-image-wrapper img {
    border-radius: 0;
    transition: transform 0.5s ease;
}

.service-number-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    background-color: var(--burgundy);
    color: white;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    z-index: 2;
}

.service-number-badge.right {
    left: auto;
    right: -20px;
}

.service-checklist li {
    font-size: 0.9rem;
    margin-bottom: 12px;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 991px) {
    .mb-100 {
        margin-bottom: 60px;
    }
}

/* PROCESS TIMELINE STYLES */
.process-timeline {
    position: relative;
}

.process-step {
    position: relative;
    z-index: 2;
}

.step-num-wrapper {
    position: relative;
    width: 60px;
    height: 60px;
    background-color: #fff;
    border: 1px solid var(--burgundy);
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

/* Connecting Line (Desktop Only) */
@media (min-width: 992px) {
    .step-num-wrapper::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 100%;
        width: calc(100% + 24px); /* Connects to the next circle */
        height: 1px;
        background-color: var(--burgundy);
        opacity: 0.3;
        z-index: -1;
    }
    
    .step-num-wrapper.is-last::after {
        display: none;
    }
}

.step-number {
    font-family: 'Playfair Display', serif;
    font-weight: bold;
    color: var(--burgundy);
}

.process-step:hover .step-num-wrapper {
    background-color: var(--burgundy);
}

.process-step:hover .step-number {
    color: #fff;
}

.extra-small {
    font-size: 0.8rem;
    line-height: 1.6;
    letter-spacing: 0.02em;
}

/* RESPONSIVE TYPOGRAPHY & LAYOUT */

/* Default Hero Image styling */
.hero-image-wrapper img {
    object-fit: cover;
    height: 300px; /* Mobile height */
}

@media (min-width: 992px) {
    /* Desktop Hero Image styling */
    .hero-image-wrapper img {
        height: auto;
    }
    
    /* Left border only appears on desktop */
    .border-start-lg {
        border-left: 3px solid #800020 !important;
    }
}

/* Fluid "Lead" text for mobile readability */
.responsive-lead {
    font-size: 1.1rem;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .responsive-lead {
        font-size: 1.25rem;
    }
}

/* Adjusting display headings for mobile */
@media (max-width: 991px) {
    .display-3 {
        font-size: calc(1.8rem + 3.0vw);
        line-height: 1.2;
    }
    
    .py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
}

/* ICON-BASED STORY MINIMAL STYLES */

/* Story layout container for proper spacing on hover */
.wedding-icon-story .col-md-6 {
    transition: all 0.3s ease;
}

.wedding-icon-story .col-md-6:hover {
    padding-left: 20px;
    border-left: 1px solid #eee;
}

/* Iconic Container (Centers number behind icon) */
.icon-story-wrapper {
    position: relative;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-story-wrapper i {
    z-index: 2;
    transition: transform 0.3s ease;
}

/* Numbers: Roman Numerals placed softly in the background */
.icon-story-wrapper span.serif.opacity-25 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    font-size: 3rem;
    color: var(--burgundy);
    opacity: 0.15;
}

/* Hover state effects */
.col-md-6:hover .icon-story-wrapper i {
    transform: scale(1.1);
}

.col-md-6:hover .icon-story-wrapper span.serif.opacity-25 {
    opacity: 0.3;
}

/* Right-side minimal image gallery */
.minimal-story-images img {
    filter: grayscale(100%);
    transition: all 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

.minimal-story-images:hover img {
    filter: grayscale(0%);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1) !important;
}

.minimal-story-images .col-6.pt-5 {
    margin-top: 50px;
}

/* PORTFOLIO SPECIAL STYLES */
.portfolio-card {
    position: relative;
    overflow: hidden;
    height: 100%;
    cursor: pointer;
}

.portfolio-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(128, 0, 32, 0.8); /* Mileyn Burgundy */
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-card:hover img {
    transform: scale(1.05);
}

.overlay-content {
    transform: translateY(20px);
    transition: transform 0.5s ease;
}

.portfolio-card:hover .overlay-content {
    transform: translateY(0);
}

/* Filter Button Styling */
.btn-filter {
    border: none;
    background: none;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 2px;
    font-size: 0.75rem;
    color: #888;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.btn-filter.active, .btn-filter:hover {
    color: #800020;
    border-bottom: 2px solid #800020;
}

.portfolio-item {
    transition: opacity 0.4s ease, transform 0.4s ease;
    /* Ensure items don't jump around during filtering */
    display: block; 
}

/* Optional: Active button state styling */
.btn-filter.active {
    color: #800020 !important;
    border-bottom: 2px solid #800020 !important;
    opacity: 1;
}

/* CONTACT PAGE INTERACTION */
.bg-beige-light {
    background-color: #fcfbf7;
    border: 1px solid #f0ede4;
}

.custom-input {
    background: transparent;
    border: none;
    border-bottom: 1px solid #d1cec4;
    border-radius: 0;
    padding-left: 0;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.custom-input:focus {
    background: transparent;
    box-shadow: none;
    border-bottom-color: #800020; /* Mileyn Burgundy */
}

/* Hero animated line */
.animated-line {
    width: 0;
    height: 1px;
    background: #800020;
    animation: growLine 1.5s forwards ease-in-out;
    margin-top: 2rem;
}

@keyframes growLine {
    to { width: 100px; }
}

/* WhatsApp Vibrant Card */
.whatsapp-card {
    background: linear-gradient(135deg, #121212 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

.whatsapp-card i.text-success {
    filter: drop-shadow(0 0 10px rgba(37, 211, 102, 0.4));
    animation: pulseIcon 2s infinite;
}

@keyframes pulseIcon {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

.btn-burgundy {
    background-color: #800020;
    color: white;
    border: none;
    transition: all 0.3s ease;
}

.btn-burgundy:hover {
    background-color: #600018;
    letter-spacing: 3px;
}