/* ============================================
   Kratos Realty - Custom Styles
   ============================================ */

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #2d2d2d;
    --accent-color: #c9a961;
    --text-light: #f5f5f5;
    --text-dark: #333;
    --text-gray: #666;
    --border-color: #3a3a3a;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ============================================
   Navigation
   ============================================ */

#mainNav {
    background: #000000;
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#mainNav.scrolled {
    background: #000000;
    padding: 0.5rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-light) !important;
    text-decoration: none;
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.brand-text {
    letter-spacing: 2px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.navbar-nav .nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

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

/* ============================================
   Hero Section
   ============================================ */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: var(--text-light);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(201,169,97,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(201, 169, 97, 0.1) 0%, transparent 70%);
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    letter-spacing: 8px;
    margin-bottom: 1rem;
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 400;
    color: var(--accent-color);
    margin-bottom: 2rem;
    letter-spacing: 3px;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-location {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.6s both;
}

.btn-primary {
    background: var(--accent-color);
    border: none;
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.8s both;
}

.btn-primary:hover {
    background: #b8954f;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(201, 169, 97, 0.4);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--accent-color);
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

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

/* ============================================
   Divider
   ============================================ */

.divider-section {
    padding: 3rem 0;
    background: var(--text-light);
}

.divider-line {
    width: 100px;
    height: 2px;
    background: var(--accent-color);
    margin: 0 auto;
    position: relative;
}

.divider-line::before,
.divider-line::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    transform: translateY(-50%);
}

.divider-line::before {
    left: -20px;
}

.divider-line::after {
    right: -20px;
}

/* ============================================
   Meaning Section
   ============================================ */

.meaning-section {
    background: var(--text-light);
    padding: 6rem 0;
}

.section-title {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-color);
}

.meaning-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border-top: 3px solid var(--accent-color);
}

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

.meaning-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.meaning-card h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.meaning-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

.meaning-footer {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-gray);
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(201, 169, 97, 0.05);
    border-left: 4px solid var(--accent-color);
}

/* ============================================
   About Section
   ============================================ */

.about-section {
    background: var(--text-light);
    padding: 6rem 0;
}

.section-icon {
    font-size: 3rem;
    color: var(--accent-color);
    display: inline-block;
}

.about-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image img {
    width: 85%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.about-image:hover img {
    transform: scale(1.05);
}

/* ============================================
   Services Section
   ============================================ */

.services-section {
    background: var(--text-light);
    padding: 6rem 0;
}

.service-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    border-left: 4px solid var(--accent-color);
}

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

.service-number {
    position: absolute;
    top: -20px;
    right: 20px;
    font-size: 4rem;
    font-weight: 700;
    color: rgba(201, 169, 97, 0.1);
    font-family: 'Playfair Display', serif;
}

.service-card h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.service-card p {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* ============================================
   Contact Section
   ============================================ */

.contact-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: var(--text-light);
    padding: 6rem 0;
}

.contact-section .section-title {
    color: var(--text-light);
}

.contact-section .section-title::after {
    background: var(--accent-color);
}

.contact-subtitle {
    font-size: 2rem;
    color: var(--accent-color);
    margin: 1rem 0;
    font-weight: 600;
}

.contact-info {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.contact-info:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.contact-info i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.contact-info h4 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(201, 169, 97, 0.2);
}

.contact-form .form-label {
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.contact-form .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    padding: 0.75rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-color);
    color: var(--text-light);
    box-shadow: 0 0 0 0.2rem rgba(201, 169, 97, 0.25);
}

.contact-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.contact-form .alert {
    border-radius: 5px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.contact-form .alert-success {
    background: rgba(40, 167, 69, 0.2);
    border: 1px solid rgba(40, 167, 69, 0.5);
    color: #90ee90;
}

.contact-form .alert-danger {
    background: rgba(220, 53, 69, 0.2);
    border: 1px solid rgba(220, 53, 69, 0.5);
    color: #ff6b6b;
}

.contact-form .alert-warning {
    background: rgba(255, 193, 7, 0.2);
    border: 1px solid rgba(255, 193, 7, 0.5);
    color: #ffd700;
}

#submitBtn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ============================================
   Footer
   ============================================ */

.footer-section {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 2rem 0;
    text-align: center;
}

.footer-section p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 4px;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .meaning-card,
    .service-card {
        margin-bottom: 2rem;
    }
    
    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }
    
    .logo-img {
        height: 45px;
    }
    
    .brand-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
        letter-spacing: 2px;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .navbar-brand {
        font-size: 1rem;
    }
}

/* ============================================
   Smooth Scroll
   ============================================ */

html {
    scroll-behavior: smooth;
}

/* ============================================
   Animations on Scroll
   ============================================ */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
