/* Global Resets and Base Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px; /* Base font size */
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #000000; /* Black background */
    color: #FFFFFF; /* White text */
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #BBBBBB; /* Lighter gray for hover */
}

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3 {
    font-weight: 900; /* Extra-bold for headings */
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-family: 'Georgia', serif; /* Change font to Georgia (serif) */
    font-size: 4rem; /* Further increased font size */
    color: #FFFFFF;
    text-transform: uppercase; /* Capitalize hero title */
}

h2 {
    font-size: 1.75rem;
    color: #FFFFFF;
}

p {
    margin-bottom: 1rem;
}

.subtitle {
    font-family: 'Kode Mono', monospace;
    font-size: 1.5rem;
    color: #CCCCCC; /* Light gray for subtitle */
    margin-bottom: 0.5rem;
    text-transform: uppercase; /* Capitalize subtitle */
}

.specialties {
    font-family: 'Kode Mono', monospace;
    font-size: 1rem;
    color: #AAAAAA; /* Medium gray */
    margin-bottom: 2rem;
    text-transform: uppercase; /* Capitalize specialties */
}

/* Header and Navigation */
.site-header {
    background-color: #000000;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #333333; /* Subtle border */
}

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

.nav-logo img {
    height: 50px; /* Adjust as needed */
    filter: invert(1); /* Make logo white if it's black */
}

.main-nav ul {
    display: flex;
    gap: 1.5rem;
}

.main-nav a {
    font-family: 'Kode Mono', monospace;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    padding: 0.5rem 0;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #FFFFFF;
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #FFFFFF;
    position: relative;
    transition: transform 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #FFFFFF;
    transition: transform 0.3s ease, top 0.3s ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

/* Active state for hamburger */
.nav-open .hamburger {
    transform: rotate(45deg);
}
.nav-open .hamburger::before {
    top: 0;
    transform: rotate(90deg);
}
.nav-open .hamburger::after {
    top: 0;
    transform: rotate(90deg);
    opacity: 0; /* Hide middle bar effectively */
}


/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 4rem 1rem;
    min-height: 80vh;
    justify-content: center;
}

.hero-content {
    margin-bottom: 3rem;
}

.hero-image-container {
    width: 100%;
    max-width: 700px; /* Control max size of slideshow */
    aspect-ratio: 16 / 9; /* Common aspect ratio */
    overflow: hidden;
    /* border: 5px solid #FFFFFF; */ /* Removed white border */
    /* box-shadow: 0 0 20px rgba(255, 255, 255, 0.3); */ /* Removed glow */
    position: relative; /* For pseudo-element if needed */
}

/* Adding a subtle bottom line for an "artsy" touch */
.hero-image-container::after {
    content: '';
    position: absolute;
    bottom: -2px; /* Position slightly below */
    left: 5%; /* Indent a bit */
    width: 90%; /* Not full width */
    height: 1px;
    background-color: rgba(255, 255, 255, 0.3); /* Faint white line */
}

.slideshow-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 1s ease-in-out;
}

/* Info Cards Section */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 3rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background-color: #0A0A0A; /* Slightly lighter black for cards */
    padding: 2.5rem 2rem; /* Increased padding */
    border: 1px solid #222222; /* Darker, more subtle border */
    text-align: center;
    display: flex; /* For better internal alignment */
    flex-direction: column;
    /* justify-content: space-between; */ /* Removed to prevent pushing content to bottom */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.05);
}

.card h2 {
    font-family: 'Kode Mono', monospace;
    margin-bottom: 1.5rem;
    color: #FFFFFF; /* Ensure heading is white */
    text-transform: uppercase; /* Capitalize card titles */
}

.card p {
    color: #CCCCCC; /* Lighter text for better readability */
    font-size: 1rem; /* Slightly larger paragraph text */
    /* flex-grow: 1; */ /* Removed as justify-content is removed */
}

.card a { /* General links within card */
    color: #FFFFFF;
    font-weight: normal; /* Default link weight */
}

.card-btn {
    display: inline-block;
    background-color: #000000; /* Default: Black background */
    color: #FFFFFF; /* Default: White text */
    padding: 0.75rem 1.5rem;
    border-radius: 4px; /* Subtle rounding */
    text-transform: uppercase;
    font-family: 'Kode Mono', monospace;
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: 1.5rem; /* Space above button */
    border: 2px solid #FFFFFF; /* White border */
    transition: background-color 0.3s ease, color 0.3s ease;
}

.card-btn:hover {
    background-color: #FFFFFF; /* Hover: White background */
    color: #000000; /* Hover: Black text */
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem; /* Increased gap */
    margin-top: 1.5rem; /* Space above social links */
}

.social-links a {
    font-family: 'Kode Mono', monospace;
    font-size: 1rem;
    color: #FFFFFF;
    display: inline-flex; /* For icon alignment */
    align-items: center;
    justify-content: center; /* Center text and icon if alone */
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #BBBBBB;
}

.social-links i {
    margin-right: 0.75rem; /* Space between icon and text */
    font-size: 1.2rem; /* Slightly larger icons */
}

/* Footer */
.site-footer-bottom {
    text-align: center;
    padding: 2rem 1rem;
    font-size: 0.9rem;
    color: #AAAAAA;
    border-top: 1px solid #333333;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.25rem;
    }

    .main-nav {
        display: none; /* Hide on mobile by default */
        position: absolute;
        top: 100%; /* Position below header */
        left: 0;
        width: 100%;
        background-color: #000000;
        border-top: 1px solid #333333;
        padding: 1rem 0;
    }

    .main-nav.nav-open {
        display: block; /* Show when toggled */
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .main-nav a {
        padding: 0.5rem 1rem;
    }
    
    .main-nav a::after { /* Ensure hover effect works on mobile too */
        display: none; /* Or adjust for touch */
    }


    .nav-toggle {
        display: block; /* Show hamburger on mobile */
    }

    .hero {
        padding: 2rem 1rem;
        min-height: auto;
    }
    
    .hero-image-container {
        aspect-ratio: 4 / 3; /* Adjust for mobile if needed */
    }

    .info-cards {
        padding: 2rem 1rem;
    }
}
