/* Custom Styles for Bootstrap Landing Page */
:root {
    --bs-primary: #CFA6A0;
    --bs-primary-rgb: 207, 166, 160;
    --bs-secondary: #7A7F58;
    --accent-terracotta: #A44A3F;
    --accent-olive: #7A7F58;
    --text-dark: #4A2E2A;
    --bg-cream: #E8DCC9;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Playfair Display', serif;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Bootstrap Override */
.btn-primary {
    background: linear-gradient(135deg, #CFA6A0 0%, #A44A3F 100%);
    border: none;
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #A44A3F 0%, #CFA6A0 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(164, 74, 63, 0.3);
}

.btn-outline-primary {
    border-color: var(--bs-primary);
    color: var(--bs-primary);
}

.btn-outline-primary:hover {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    color: white;
}

.text-primary {
    color: var(--bs-primary) !important;
}

.bg-primary {
    background-color: var(--bs-primary) !important;
}

.text-gradient {
    background: linear-gradient(135deg, #CFA6A0 0%, #A44A3F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navbar */
.navbar {
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-brand {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

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

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

/* Hero Section */
.hero-section {
    min-height: 90vh;
    padding-top: 100px;
    padding-bottom: 60px;
    background: linear-gradient(135deg, #E8DCC9 0%, #f5ede1 100%);
    position: relative;
}

/* Make columns vertically centered and give text column control */
.hero-section .row {
    align-items: center;
}

.hero-section .text-col {
    display: flex;
    align-items: center;
}

.hero-section .text-col .content {
    width: 100%;
}

/* Tweak typography to make text more prominent and balanced */
.hero-section .display-3 {
    line-height: 1.05;
    font-weight: 700;
}

.hero-section .lead {
    font-size: 1.125rem;
}

.hero-image {
    position: relative;
}

/* Make image responsive and keep a pleasant height on desktop */
.hero-image .image-placeholder {
    height: 520px;
    max-height: 70vh;
    background: linear-gradient(135deg, #CFA6A0 0%, #A44A3F 100%);
}

.hero-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

/* Floating card repositioning to not overlap important areas */
.floating-card {
    bottom: 24px !important;
    left: 24px !important;
    animation: float 4s ease-in-out infinite;
}

@media (max-width: 991px) {
    .hero-section {
        padding-top: 80px;
    }
    
    .hero-image img,
    .hero-image .image-placeholder {
        height: 420px;
    }
    
    .hero-section .text-col { text-align: center; }
    .hero-section .text-col .content { margin: 0 auto; }
}

@media (max-width: 768px) {
    .display-3 {
        font-size: 2.2rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.8rem;
    }
    
    .hero-image img,
    .hero-image .image-placeholder {
        height: 300px;
    }
}

.floating-card {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 10px); }
}

.scroll-down a {
    font-size: 2rem;
    text-decoration: none;
}

.icon-box {
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Service Cards */
.service-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #d4a574 0%, #b8936d 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15) !important;
}

/* Form Styles */
.form-control:focus,
.form-select:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.25rem rgba(212, 165, 116, 0.25);
}

/* Footer */
footer a:hover {
    color: var(--bs-primary) !important;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-section {
        padding-top: 100px;
    }
    
    .hero-image img,
    .hero-image .image-placeholder {
        height: 400px;
    }
    
    .floating-card {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .display-3 {
        font-size: 2.5rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.8rem;
    }
    
    .hero-image img,
    .hero-image .image-placeholder {
        height: 300px;
    }
}

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

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease;
}

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

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

::-webkit-scrollbar-thumb:hover {
    background: var(--bs-secondary);
}


