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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header - Premium Overlay Design */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 10;
    background: rgba(44, 62, 80, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 1rem 20px;
    transition: background 0.3s ease;
    box-sizing: border-box;
}

.site-header:hover {
    background: rgba(44, 62, 80, 0.95);
}

.site-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.logo h1 a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    display: block;
    transition: none;
}

.logo h1 a:hover {
    color: inherit;
    text-decoration: none;
}

.tagline {
    font-size: 0.9rem;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.main-nav a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.main-nav a:hover {
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Hero Section - Premium Design with Header Overlay */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    overflow: hidden;
    padding-top: 80px; /* Account for header height */
}

/* Homepage hero - full height */
.hero-homepage {
    padding-top: 120px; /* More space for mobile header */
    min-height: 90vh;
}

/* Inner pages hero - smaller height */
.hero-inner {
    padding-top: 120px; /* More space for mobile header */
    min-height: 40vh;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.85) 0%, rgba(118, 75, 162, 0.85) 100%);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 3;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
}

.hero p {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    margin-bottom: 2.5rem;
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button.primary {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    border: 2px solid transparent;
}

.cta-button.primary:hover {
    background: linear-gradient(135deg, #ee5a24, #ff6b6b);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.for-sale-actions {
    margin: 1.5rem 0;
    text-align: center;
}

.for-sale-cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.for-sale-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.for-sale-cta-button:hover::before {
    left: 100%;
}

.for-sale-cta-button:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}

.for-sale-cta-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.benefit-text {
    display: block;
    font-size: 0.85rem;
    opacity: 0.9;
    margin-top: 0.25rem;
    font-weight: 400;
}

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

/* Main Content */
main {
    min-height: 60vh;
    padding: 3rem 0;
}

.content {
    max-width: 800px;
    margin: 0 auto;
}

/* Footer */
.site-footer {
    background: #34495e;
    color: white;
    padding: 2rem 0 1rem;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.footer-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.footer-link:hover {
    color: #5dade2;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.8;
}

/* Website For Sale Overlay */
.for-sale-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease-in-out;
}

.for-sale-overlay.show {
    display: flex;
}

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

.for-sale-modal {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideIn 0.4s ease-out;
}

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

.for-sale-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: #888;
    cursor: pointer;
    line-height: 1;
    padding: 0.25rem 0.5rem;
    transition: color 0.3s;
}

.for-sale-close:hover {
    color: #333;
}

.for-sale-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.for-sale-header h2 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.for-sale-badge {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.for-sale-content {
    text-align: center;
    margin-bottom: 2rem;
}

.for-sale-content p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.for-sale-price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #3498db;
    margin: 1rem 0;
}

.for-sale-contact {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.for-sale-contact p {
    margin: 0.5rem 0;
    font-size: 1rem;
}

.for-sale-contact a {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
}

.for-sale-contact a:hover {
    text-decoration: underline;
}

.for-sale-alternatives {
    margin-top: 2rem;
    border-top: 2px solid #e0e0e0;
    padding-top: 1.5rem;
}

.for-sale-alternatives h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-align: center;
}

.alternatives-carousel {
    position: relative;
    overflow: hidden;
    padding: 1rem 0;
}

.alternatives-container {
    display: flex;
    transition: transform 0.3s ease-in-out;
}

.alternative-item {
    min-width: 100%;
    padding: 1rem;
    text-align: center;
}

.alternative-item h4 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.alternative-item p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.alternative-item a {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.alternative-item a:hover {
    background: #2980b9;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.carousel-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}

.carousel-btn:hover {
    background: #2980b9;
}

.carousel-btn:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #bdc3c7;
    cursor: pointer;
    transition: background 0.3s;
}

.carousel-indicator.active {
    background: #3498db;
}

/* Blog & Posts Styles */
.blog-archive {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.blog-archive h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.blog-archive > p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

.posts-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.post-preview {
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 2rem;
}

.post-preview:last-child {
    border-bottom: none;
}

.post-preview h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.post-preview h2 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s;
}

.post-preview h2 a:hover {
    color: #3498db;
}

.post-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.post-author {
    margin-left: 1rem;
}

.post-author::before {
    content: "• ";
    margin-right: 0.5rem;
}

.post-excerpt {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.read-more {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.read-more:hover {
    color: #2980b9;
}

.no-posts {
    text-align: center;
    padding: 3rem 0;
}

.no-posts p {
    font-size: 1.1rem;
    color: #666;
}

/* Individual Post Styles */
.post-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.post {
    background: white;
}

.post-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e0e0e0;
}

.post-header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.post-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.post-body h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin: 2rem 0 1rem;
}

.post-body h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin: 1.5rem 0 1rem;
}

.post-body p {
    margin-bottom: 1.5rem;
}

.post-body ul, .post-body ol {
    margin: 1rem 0 1.5rem 2rem;
}

.post-body li {
    margin-bottom: 0.5rem;
}

.post-body a {
    color: #3498db;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

.post-body a:hover {
    border-bottom-color: #3498db;
}

.post-body img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin: 1.5rem 0;
}

.post-body blockquote {
    border-left: 4px solid #3498db;
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    color: #666;
    font-style: italic;
}

.post-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.back-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.back-link:hover {
    color: #2980b9;
}

/* Responsive */
@media (max-width: 768px) {
    .site-header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-nav ul {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .main-nav a {
        padding: 0.3rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .hero {
        padding-top: 120px; /* More space for mobile header */
        min-height: 90vh;
    }
    
    .hero-homepage {
        padding-top: 120px; /* More space for mobile header */
        min-height: 90vh;
    }
    
    .hero-inner {
        padding-top: 120px; /* More space for mobile header */
        min-height: 40vh;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .for-sale-modal {
        padding: 1.5rem;
        max-width: 95%;
    }
    
    .for-sale-header h2 {
        font-size: 1.5rem;
    }
    
    .for-sale-price {
        font-size: 2rem;
    }
    
    .blog-archive h1,
    .post-header h1 {
        font-size: 2rem;
    }
    
    .post-preview h2 {
        font-size: 1.5rem;
    }
    
    .post-body {
        font-size: 1rem;
    }
    
    .post-body h2 {
        font-size: 1.7rem;
    }
    
    .post-body h3 {
        font-size: 1.3rem;
    }
}
