/* Lamegos Guesthouse - Custom CSS */

:root {
    --primary-color: #2c5f2d;
    --secondary-color: #6b9e7f;
    --accent-color: #d4a574;
    --light-bg: #f5f3f0;
    --dark-text: #2c2c2c;
    --light-text: #666666;
}

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

html, body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Lora', serif;
    font-weight: 600;
    color: var(--primary-color);
}

/* Navigation Bar */
.navbar {
    background-color: #ffffff !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link {
    color: var(--dark-text) !important;
    margin-left: 1rem;
    transition: color 0.3s ease;
}

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

.navbar-nav .dropdown-menu {
    background-color: var(--light-bg);
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-nav .dropdown-item {
    color: var(--dark-text);
    transition: background-color 0.3s ease;
}

.navbar-nav .dropdown-item:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.hero-section h1 {
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInDown 0.8s ease-out;
}

.hero-section p {
    color: white;
    font-size: 1.3rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-section .btn {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

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

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

/* Welcome Section */
.welcome-section {
    background-color: var(--light-bg);
}

.welcome-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.welcome-section h4 {
    color: var(--secondary-color);
    font-weight: 500;
}

.welcome-section p {
    color: var(--light-text);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.welcome-section img {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.welcome-section img:hover {
    transform: scale(1.05);
}

/* Services Section */
.services-section {
    background-color: white;
}

.services-section .card {
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

.services-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.services-section .card-title {
    color: var(--primary-color);
    font-weight: 600;
}

/* Gallery Preview Section */
.gallery-preview-section {
    background-color: var(--light-bg);
}

.gallery-preview-section img {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border-radius: 8px;
}

.gallery-preview-section img:hover {
    transform: scale(1.05);
}

/* Call to Action Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a3a1b 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    color: white;
    font-size: 2rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #1a3a1b;
    border-color: #1a3a1b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-outline-light {
    border: 2px solid white;
    transition: all 0.3s ease;
}

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

/* Footer */
footer {
    background-color: #1a1a1a !important;
    color: #cccccc;
    margin-top: 5rem;
}

footer h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
}

footer a {
    color: #cccccc;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--accent-color);
}

footer hr {
    border-color: #333333;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        height: 400px !important;
    }

    .hero-section h1 {
        font-size: 1.8rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .welcome-section h2 {
        font-size: 1.8rem;
    }

    .navbar-nav .nav-link {
        margin-left: 0;
        padding-top: 0.5rem;
    }

    .services-section .card {
        margin-bottom: 1rem;
    }
}

/* Animations */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.slide-in {
    animation: slideIn 0.6s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
