:root {
    /* Colors */
    --primary-color: #cf2b41;
    --secondary-color: #ffc700;
    --dark-gray: #003623;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    
    /* Typography */
    --heading-font: 'Montserrat', sans-serif;
    --body-font: 'Work Sans', sans-serif;
    
    /* Font Weights */
    --regular: 400;
    --medium: 500;
    --semibold: 600;
    --bold: 700;
    
    /* Spacing */
    --section-spacing: 8rem;
    --container-padding: 2rem;
}

/* Homepage Styles */
.homepage {
    margin-top: 80px; /* Account for fixed header */
}

/* Container Styles */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    overflow: hidden;
}

.hero {
    position: relative;
    min-height: 90vh;
    padding: 6rem 0;
    overflow: hidden;
    background: var(--dark-gray);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.gradient-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 54, 35, 0.98) 0%,
        rgba(0, 54, 35, 0.85) 100%
    );
}

.pattern-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background-image: radial-gradient(var(--secondary-color) 1px, transparent 1px);
    background-size: 30px 30px;
}

.hero-content {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 199, 0, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 2rem;
}

.badge-icon {
    color:  #ffc700;
}

.badge-text {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: var(--medium);
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
    color: var(--white);
}

.title-line.highlight {
    color: #ffc700;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: var(--bold);
    color: var(--white);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

.btn {
    position: relative;
    padding: 1.2rem 2.4rem;
    border-radius: 8px;
    font-weight: var(--semibold);
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--secondary-color);
    color: #ffc700;
    border: 2px solid #ffc700;
}

.btn-primary:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 54, 35, 0.2);
}

.btn i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(5px);
}

.btn:active {
    transform: translateY(1px);
    box-shadow: 0 5px 10px rgba(0, 54, 35, 0.1);
}

/* Button Loading State */
.btn.loading {
    pointer-events: none;
    opacity: 0.8;
}

.btn.loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Responsive Button Styles */
@media (max-width: 768px) {
    .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
        /* width: 100%; */
        justify-content: center;
    }
}

.hero-visual {
    position: relative;
}

.image-stack {
    position: relative;
    width: 100%;
    height: 600px;
}

.image-frame {
    position: absolute;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-image {
    width: 100%;
    height: 100%;
    z-index: 1;
}

.accent-image {
    width: 60%;
    height: 350px;
    top: 50%;
    right: -20%;
    z-index: 2;
}

.experience-badge {
    position: absolute;
    bottom: 2rem;
    left: -2rem;
    background: var(--primary-color);
    padding: 2rem;
    border-radius: 50%;
    z-index: 3;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.badge-content .years {
    font-size: 2.5rem;
    font-weight: var(--bold);
    color: var(--white);
    line-height: 1;
    display: block;
}

.badge-content .text {
    font-size: 0.8rem;
    color: var(--white);
    opacity: 0.9;
    display: block;
    margin-top: 0.5rem;
}

/* Building Animation Container */
.building-animation {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 40%;
    height: 80%;
    z-index: 1;
    background: url('../images/SkHolmes-Hero-image.png') no-repeat center center;
    background-size: contain;
    opacity: 1;
}

.blueprint-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: linear-gradient(var(--secondary-color) 1px, transparent 1px),
                      linear-gradient(90deg, var(--secondary-color) 1px, transparent 1px);
    background-size: 20px 20px;
    background-position: center center;
    opacity: 0.1;
}

/* Update hero features */
.hero-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    transition: transform 0.3s ease;
}

.hero-feature:hover {
    transform: translateY(-5px);
}

.hero-feature i {
    font-size: 2.2rem;
    color: var(--secondary-color);
    background: rgba(180, 149, 119, 0.1);
    padding: 1rem;
    border-radius: 12px;
}

.hero-feature-text {
    font-family: var(--body-font);
    font-weight: var(--medium);
    font-size: 1rem;
    opacity: 0.9;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    opacity: 0.1;
}

.compass {
    top: 10%;
    right: 10%;
    width: 100px;
    animation: rotate 20s linear infinite;
}

.ruler {
    bottom: 15%;
    left: 5%;
    width: 150px;
    transform: rotate(45deg);
}

.pencil {
    top: 20%;
    left: 15%;
    width: 80px;
    transform: rotate(-30deg);
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Button Styles */
.btn span {
    position: relative;
    z-index: 2;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    opacity: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.scroll-text {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    color: var(--white);
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--white);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--white);
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, 20px);
        opacity: 0;
    }
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .image-stack {
        height: 500px;
    }
}

@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .image-stack {
        height: 400px;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 4rem 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .stat-divider {
        display: none;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .image-stack {
        height: 300px;
    }

    .accent-image {
        display: none;
    }
}

/* Add portrait orientation styles */
@media (max-height: 700px) and (orientation: landscape) {
    .hero {
        height: auto;
        min-height: 100vh;
    }

    .hero-content {
        padding: 4rem 0;
    }

    .hero-features {
        grid-template-columns: repeat(3, 1fr);
        margin: 2rem 0;
    }
}

/* Add better touch device support */
@media (hover: none) {
    .hero-feature:hover {
        transform: none;
    }

    .btn:hover {
        transform: none;
    }

    .btn:active {
        transform: translateY(2px);
    }
} 