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

body {
    font-family: 'Lato', sans-serif;
    background-color: white;
    color: #333;
}

/* Main Content Container */
.main-content {
    max-width: 1450px;
    width: calc(100% - 100px);
    margin: 0 auto;
    padding: 0 50px;
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.navbar .container-fluid {
    max-width: 1450px;
    width: calc(100% - 100px);
    margin: 0 auto;
    padding: 0 50px;
}

.logo {
    height: 60px;
    width: auto;
}

.nav-link {
    color: #4C4122 !important;
    font-weight: 500;
    margin: 0 10px;
}

.nav-link:hover {
    color: #96772F !important;
}

.phone-number {
    cursor: pointer;
    user-select: all;
}

.btn-contact {
    background-color: #96772F;
    color: white !important;
    padding: 8px 20px;
    border-radius: 5px;
    margin-left: 10px;
}

.btn-contact:hover {
    background-color: #4C4122;
}

/* Slider */
.carousel {
    width: 100%;
    height: calc(100vh - 76px);
    position: relative;
}

.carousel-inner {
    height: 100%;
}

.carousel-item {
    height: 100%;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    bottom: 40%;
    background: rgba(0, 0, 0, 0.5);
    padding: 30px;
    border-radius: 10px;
}

.carousel-caption h1 {
    font-size: 4rem;
    font-weight: bold;
    color: white;
    margin-bottom: 10px;
}

.carousel-motto {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 20px;
    font-style: italic;
}

.btn-primary {
    background-color: #96772F;
    border: none;
    padding: 12px 40px;
    font-size: 1.2rem;
}

.btn-primary:hover {
    background-color: #4C4122;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #4C4122;
    margin-bottom: 50px;
    font-weight: bold;
}

/* Investments Grid */
.investments-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.investment-card {
    background: white;
    border: 2px solid #96772F;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s;
    cursor: pointer;
}

.investment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(150, 119, 47, 0.3);
}

.investment-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.investment-card-body {
    padding: 20px;
}

.investment-card h3 {
    color: #4C4122;
    margin-bottom: 15px;
}

.investment-card p {
    color: #666;
}

/* About Section */
.section-about {
    background-color: #f8f8f8;
    padding: 80px 50px;
}

.section-about p {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
    color: #666;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form .btn-primary {
    width: 100%;
}

.form-control {
    border: 2px solid #96772F;
    border-radius: 5px;
    padding: 12px;
}

.form-control:focus {
    border-color: #4C4122;
    box-shadow: 0 0 0 0.2rem rgba(150, 119, 47, 0.25);
}

/* Footer */
.footer {
    background-color: #4C4122;
    color: white;
    padding: 50px 0 20px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer h5 {
    color: #96772F;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-nav {
    list-style: none;
    padding: 0;
}

.footer-nav li {
    margin-bottom: 10px;
}

.footer-nav a {
    color: white;
    text-decoration: none;
}

.footer-nav a:hover {
    color: #96772F;
}

.footer-contact p {
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid #96772F;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: #96772F;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-content {
        width: calc(100% - 40px);
        padding: 0 20px;
    }
    
    .logo {
        height: 40px;
    }
    
    .investments-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .carousel-caption h1 {
        font-size: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }
}

/* Subpage Styles */
.subpage-header {
    padding: 40px 0;
    text-align: center;
}

.subpage-header img {
    max-width: 100%;
    height: auto;
    margin-bottom: 30px;
}

.subpage-content {
    padding: 40px 0;
}

.subpage-content h1 {
    color: #4C4122;
    margin-bottom: 30px;
}

.subpage-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
}

/* Investment Dropdown */
.investment-dropdown {
    margin: 30px 0;
}

.dropdown-menu {
    border: none;
    border-radius: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    opacity: 0;
    visibility: hidden;
    padding: 0;
}

.navbar .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-item {
    transition: background-color 0.3s ease, color 0.3s ease;
    padding: 12px 20px;
}

.dropdown-item:hover {
    background-color: #96772F;
    color: white;
}

/* Dropdown on hover */
.navbar .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

.navbar .dropdown-menu {
    margin-top: 0;
    display: none;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-grid img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid #96772F;
}

.main-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 10px;
    margin: 30px 0;
}
