/* Trinity River Ranch - Custom Styles */

/* Typography */
body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
}

/* Color Scheme */
:root {
    --primary-color: #8B4513;
    --secondary-color: #D2B48C;
    --accent-color: #228B22;
    --text-dark: #2C3E50;
    --text-light: #6C757D;
    --background-light: #F8F9FA;
}

/* Override Bootstrap primary color */
.btn-primary, .bg-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: #654321 !important;
    border-color: #654321 !important;
}

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

/* Navigation */
.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background-color: rgba(248, 249, 250, 0.95) !important;
    backdrop-filter: blur(10px);
}

.main-content {
    padding-top: 76px; /* Account for fixed navbar */
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-overlay {
    background: rgba(0,0,0,0.3);
    padding: 2rem 0;
    border-radius: 15px;
}

/* Feature Cards */
.feature-card {
    padding: 2rem;
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.feature-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    background: rgba(139, 69, 19, 0.1);
    border-radius: 50%;
    margin: 0 auto;
}

/* Gallery Styles */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 1.5rem 1rem 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* Service Cards */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.service-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
    background: rgba(139, 69, 19, 0.1);
    border-radius: 15px;
    margin: 0 auto;
}

.service-item {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

/* Testimonials */
.testimonial-card {
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.stars {
    font-size: 1.2rem;
}

/* Page Headers */
.page-header {
    padding: 6rem 0 4rem;
    background: linear-gradient(135deg, var(--primary-color), #A0522D);
}

/* Contact Form */
.contact-form .form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(139, 69, 19, 0.25);
}

.contact-item {
    padding: 1rem;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.contact-item:hover {
    background-color: rgba(139, 69, 19, 0.05);
}

/* Feature Boxes */
.feature-box {
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.feature-box:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

/* Stats */
.stat-item {
    padding: 1rem;
}

.stat-number {
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
}

/* Accommodation Details */
.accommodation-details .feature-item {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.accommodation-details .feature-item:last-child {
    border-bottom: none;
}

/* Footer */
footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--secondary-color) !important;
}

/* Buttons */
.btn {
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-lg {
    padding: 0.75rem 2rem;
}

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

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        background-attachment: scroll;
        min-height: 70vh;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    .feature-card, .service-card {
        margin-bottom: 1.5rem;
    }
    
    .gallery-overlay {
        transform: translateY(0);
        background: rgba(0,0,0,0.6);
    }
}

@media (max-width: 576px) {
    .main-content {
        padding-top: 70px;
    }
    
    .btn-group .btn {
        margin-bottom: 0.5rem;
    }
    
    .hero-buttons .btn {
        display: block;
        margin: 0.5rem 0;
    }
}

/* Print Styles */
@media print {
    .navbar, .btn, footer {
        display: none;
    }
    
    .main-content {
        padding-top: 0;
    }
    
    .hero-section {
        background: none;
        color: black;
        min-height: auto;
        padding: 2rem 0;
    }
}