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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
    background: #000;
}

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

.text-center {
    text-align: center;
}

/* Page Loader */
.loader {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;
    z-index: 9999;
    background: #000;
}

.loader .spinner {
    width: 8rem;
    height: 8rem;
    border-bottom-width: 2px;
    border-bottom-style: solid;
    border-color: rgb(37 99 235);
    border-radius: 9999px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgb(251 252 253);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

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

.nav-logo h2 {
    color: #1a202c;
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #E64833;
}

.cta-button {
    background: #244855;
    color: white !important;
    padding: 0.5rem 2rem;
    border-radius: 9999px;
    transition: background 0.3s ease;
    font-size: 0.9rem;
}

.cta-button:hover {
    background: #E64833;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, rgba(36, 72, 85, 0.8) 0%, rgba(230, 72, 51, 0.8) 100%), url('assets/images/hero-background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

.hero-location {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

/* Buttons - Smaller and more refined */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    text-decoration: none;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid inherit;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1;
}

.btn-primary {
    background: #244855;
    color: white;
    border: 2px solid #244855;
}

.btn-primary:hover {
    background: #E64833;
    border-color: #E64833;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #244855;
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #25d366;
    color: white;
}

.btn-whatsapp:hover {
    background: #128c7e;
    transform: translateY(-2px);
}

.btn svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
    flex-shrink: 0;
}

.btn i {
    font-size: 1rem;
    flex-shrink: 0;
}

/* Sections */
section {
    padding: 5rem 0;
}

/* About Section */
.about {
    background: #f7fafc;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    color: #1a202c;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.about-text h3 {
    font-size: 2rem;
    color: #244855;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.tagline {
    font-size: 1.2rem;
    color: #4a5568;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #4a5568;
    font-size: 1.1rem;
}

blockquote {
    font-style: italic;
    font-size: 1.2rem;
    color: #E64833;
    border-left: 4px solid #E64833;
    padding-left: 1.5rem;
    margin: 2rem 0;
}

/* Profile Images */
.profile-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.about-image {
    text-align: center;
}

/* Kevin Section */
.kevin-section {
    background: white;
}

.kevin-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

.kevin-text h2 {
    font-size: 2.5rem;
    color: #1a202c;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.kevin-text h3 {
    font-size: 1.5rem;
    color: #244855;
    margin-bottom: 1.5rem;
}

.kevin-text p {
    margin-bottom: 1.5rem;
    color: #4a5568;
    font-size: 1.1rem;
}

/* Services Section */
.services {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    text-align: center;
    padding: 6rem 0;
}

.services h2 {
    font-size: 2.5rem;
    color: #1a202c;
    margin-bottom: 3rem;
    letter-spacing: -0.01em;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.service-item {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #244855 0%, #E64833 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(36, 72, 85, 0.1);
}

.service-item:hover::before {
    transform: scaleX(1);
}

.service-item>svg {
    stroke-width: 1;
    width: 60px;
    height: 60px;
    stroke: #244855;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-item:hover>svg {
    transform: scale(1.1);
    stroke: #E64833;
}

.service-item h3 {
    font-size: 1.3rem;
    color: #1a202c;
    margin-bottom: 1rem;
}

.service-item p {
    color: #4a5568;
}

/* Featured Links */
.featured-links {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 6rem 0;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.link-card {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #244855 0%, #E64833 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.link-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(36, 72, 85, 0.1);
}

.link-card:hover::before {
    transform: scaleX(1);
}

.link-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, #244855 0%, #E64833 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.link-icon svg {
    width: 36px;
    height: 36px;
    stroke: white;
    stroke-width: 1.5;
}

.link-card:hover .link-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(36, 72, 85, 0.3);
}

.link-card h3 {
    font-size: 1.75rem;
    color: #1a202c;
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.link-card p {
    color: #4a5568;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.link-card .btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.link-card .btn::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 ease;
    z-index: -1;
}

.link-card .btn:hover::before {
    left: 100%;
}

/* Contact Section */
.contact {
    background: #1a202c;
    color: white;
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.contact-intro {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
}

.contact-item>svg {
    width: 46px;
    height: 46px;
    stroke-width: 1;
    color: #E64833;
}

.contact-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #E64833;
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: #2d3748;
    color: white;
    padding: 2rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo h3 {
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #E64833;
}

.footer-bottom {
    border-top: 1px solid #4a5568;
    padding-top: 1rem;
    text-align: center;
    opacity: 0.8;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    margin: 3% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 1100px;
    height: min(90vh, 800px);
    max-height: 90vh;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    -webkit-box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    height: 90vh;
}

.modal-header {
    background: #244855;
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 12px 12px 0 0;
    position: relative;
}

.modal-subtitle {
    opacity: 0.9;
    font-size: 1rem;
}

.close {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.close:hover {
    opacity: 0.7;
}

.modal-body {
    padding: 0;
    height: 100%;
}

.calendly-placeholder {
    text-align: center;
    padding: 2rem;
    background: #f7fafc;
    border-radius: 8px;
    border: 2px dashed #cbd5e0;
}

.calendly-placeholder i {
    font-size: 3rem;
    color: #244855;
    margin-bottom: 1rem;
}

.calendly-placeholder h3 {
    color: #1a202c;
    margin-bottom: 1rem;
}

.calendly-placeholder p {
    color: #4a5568;
    margin-bottom: 0.5rem;
}

.calendly-placeholder strong {
    color: #244855;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .about-content,
    .kevin-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .links-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .about-text h2,
    .kevin-text h2,
    .services h2,
    .contact h2 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

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

.hero-content,
.about-content,
.kevin-content,
.service-item,
.link-card {
    animation: fadeInUp 0.8s ease-out;
}
