/* HarborGate - Nautical Luxury Theme */

:root {
    --navy: #0A2342;
    --sand: #E6D2AA;
    --white: #FFFFFF;
    --red: #BF2A23;
    --light-gray: #F8F9FA;
    --dark-gray: #6C757D;
}

/* Base Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Color Classes */
.bg-navy { background-color: var(--navy) !important; }
.bg-sand { background-color: var(--sand) !important; }
.text-navy { color: var(--navy) !important; }
.text-sand { color: var(--sand) !important; }
.text-red { color: var(--red) !important; }

/* Button Styles */
.btn-navy {
    background-color: var(--navy);
    border-color: var(--navy);
    color: white;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-navy:hover {
    background-color: #0d2a4a;
    border-color: #0d2a4a;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(10, 35, 66, 0.3);
}

.btn-outline-navy {
    color: var(--navy);
    border-color: var(--navy);
    font-weight: 600;
    padding: 12px 24px;
    transition: all 0.3s ease;
}

.btn-outline-navy:hover {
    background-color: var(--navy);
    border-color: var(--navy);
    color: white;
    transform: translateY(-2px);
}

/* Navigation */
.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--sand) !important;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    background: linear-gradient(rgba(10, 35, 66, 0.4), rgba(10, 35, 66, 0.6)),
                url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.search-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
}

/* Property Cards */
.property-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.property-card img {
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.property-card:hover img {
    transform: scale(1.05);
}

.property-card .card-body {
    padding: 1.5rem;
}

.property-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--red);
}

.property-location {
    color: var(--dark-gray);
    font-size: 0.9rem;
}

.property-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 1rem;
}

.amenity-tag {
    background-color: var(--sand);
    color: var(--navy);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Feature Icons */
.feature-icon {
    padding: 2rem;
    border-radius: 15px;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

/* Testimonial Cards */
.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: 100%;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.testimonial-author {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

/* Filter Section */
.filter-section {
    background: var(--light-gray);
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.filter-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Property Gallery */
.property-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Property Details */
.property-hero {
    height: 60vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.property-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(10, 35, 66, 0.4), rgba(10, 35, 66, 0.6));
}

.amenity-list {
    list-style: none;
    padding: 0;
}

.amenity-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

.amenity-list li:last-child {
    border-bottom: none;
}

.amenity-list i {
    color: var(--red);
    margin-right: 10px;
    width: 20px;
}

/* Calendar Widget */
.calendar-widget {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Contact Forms */
.contact-form {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Blog Cards */
.blog-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.blog-card img {
    height: 200px;
    object-fit: cover;
}

/* Footer */
footer {
    background: var(--navy) !important;
}

footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--sand) !important;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--sand);
    color: var(--navy) !important;
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .search-container {
        margin: 0 1rem;
    }
    
    .property-gallery {
        grid-template-columns: 1fr;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Utility Classes */
.shadow-soft {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1) !important;
}

.rounded-soft {
    border-radius: 15px !important;
}

.text-shadow {
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Additional Component Styles */

/* Service Cards */
.service-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--sand);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.service-list li:last-child {
    border-bottom: none;
}

/* Pricing Cards */
.pricing-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.pricing-card.featured {
    border: 2px solid var(--red);
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--red);
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-header h3 {
    color: var(--navy);
    margin-bottom: 1rem;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--red);
    margin-bottom: 0.5rem;
}

.price-subtitle {
    color: var(--dark-gray);
    margin-bottom: 2rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.5rem 0;
    text-align: left;
}

/* Fee Structure */
.fee-item {
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.fee-item:last-child {
    border-bottom: none;
}

.included-list {
    list-style: none;
    padding: 0;
}

.included-list li {
    padding: 0.5rem 0;
}

/* Owner Success Stories */
.owner-avatar {
    font-size: 1.2rem;
}

.revenue-highlight {
    background: var(--sand);
    color: var(--navy);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
}

/* Area Page Styles */
.area-stats {
    background: var(--light-gray);
    border-radius: 15px;
    padding: 2rem;
}

.stat-item {
    padding: 0.5rem 0;
    border-bottom: 1px solid #ddd;
}

.stat-item:last-child {
    border-bottom: none;
}

.attraction-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.attraction-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.attraction-info {
    margin-top: 1rem;
}

.restaurant-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.restaurant-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.restaurant-amenities {
    margin-top: 1rem;
}

.activity-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.transport-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
}

.transport-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

/* Blog Styles */
.featured-article {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.article-title {
    color: var(--navy);
    margin-bottom: 1rem;
}

.sidebar {
    position: sticky;
    top: 100px;
}

.newsletter-signup {
    background: var(--light-gray);
    border-radius: 15px;
    padding: 2rem;
}

.recent-posts {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.recent-post-item {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.recent-post-item:last-child {
    border-bottom: none;
}

.category-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.newsletter-form {
    background: var(--navy);
    border-radius: 15px;
    padding: 2rem;
}

/* Contact Page Styles */
.contact-option-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.contact-option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.office-info {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.info-item {
    display: flex;
    align-items: flex-start;
}

.map-container {
    background: var(--light-gray);
    border-radius: 15px;
    padding: 1.5rem;
}

.map-placeholder {
    background: white;
    border-radius: 10px;
    border: 2px dashed #ddd;
}

/* Tech Cards */
.tech-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

/* Button Variants */
.btn-red {
    background-color: var(--red);
    border-color: var(--red);
    color: white;
}

.btn-red:hover {
    background-color: #a01e1e;
    border-color: #a01e1e;
    color: white;
}

.btn-sand {
    background-color: var(--sand);
    border-color: var(--sand);
    color: var(--navy);
    font-weight: 600;
}

.btn-sand:hover {
    background-color: #d4c19a;
    border-color: #d4c19a;
    color: var(--navy);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--navy);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0d2a4a;
}
