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

:root {
    --gold-color: #FFD700;
    --gold-hover: #FFA500;
    --dark-overlay: rgba(0, 0, 0, 0.7);
    --black: #000000;
    --white: #ffffff;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

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

/* Ensure all text is visible by default */
p, li, span, div {
    color: inherit;
}

/* High-quality smooth image rendering */
img {
    image-rendering: auto;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
    -ms-interpolation-mode: bicubic;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Container for responsive layout */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
}

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

.nav-logo a {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--gold-color);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo a:hover {
    color: var(--gold-hover);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.nav-logo-img {
    height: 32px;
    width: 32px;
    object-fit: contain;
    transition: var(--transition);
}

.nav-logo a:hover .nav-logo-img {
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.4));
}

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

.nav-link {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold-color);
    background: rgba(255, 215, 0, 0.1);
}

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

.nav-toggle .bar {
    width: 25px;
    height: 3px;
    background: var(--gold-color);
    border-radius: 2px;
    transition: var(--transition);
}

/* Background Container */
.background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -2;
    overflow: hidden;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../../builds/athion-builds/Aurelios_the_Lost_City/AtlantisCity.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* Only cover hero section */
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.3) 30%,
        rgba(0, 0, 0, 0.6) 60%,
        rgba(0, 0, 0, 0.9) 85%,
        rgba(0, 0, 0, 1) 100%
    );
    z-index: 0;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    padding-top: 80px; /* Account for fixed navbar */
}

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

.portfolio-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(4rem, 12vw, 10rem);
    font-weight: 700;
    color: var(--gold-color);
    text-shadow: 
        3px 3px 6px rgba(0, 0, 0, 0.8),
        0 0 30px rgba(255, 215, 0, 0.3);
    letter-spacing: 0.1em;
    animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 
            3px 3px 6px rgba(0, 0, 0, 0.8),
            0 0 30px rgba(255, 215, 0, 0.3);
    }
    to {
        text-shadow: 
            3px 3px 6px rgba(0, 0, 0, 0.8),
            0 0 40px rgba(255, 215, 0, 0.5),
            0 0 60px rgba(255, 215, 0, 0.2);
    }
}

/* Portfolio Section */
.portfolio-section {
    min-height: 100vh;
    padding: 5rem 0;
    position: relative;
    z-index: 1;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.95) 50%,
        rgba(0, 0, 0, 1) 100%
    );
}

.portfolio-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 0 auto;
    max-width: 1400px;
    padding: 0 2rem;
    overflow: hidden; /* Prevent any overflow */
}

.portfolio-row {
    display: flex;
    height: 400px;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%; /* Ensure it never exceeds container */
    box-sizing: border-box;
}

/* Responsive sizing for different desktop sizes */
@media screen and (max-width: 1200px) and (min-width: 769px) {
    .portfolio-grid {
        padding: 0 1.5rem;
    }
    
    .portfolio-row {
        gap: 1rem;
    }
    
    .build-card {
        max-width: calc(50% - 0.5rem);
    }
}

/* Larger images on desktop */
@media screen and (min-width: 1200px) {
    .portfolio-row {
        height: 450px;
        gap: 2rem;
    }
    
    .build-card {
        max-width: calc(50% - 1rem);
    }
}

/* Extra large screens - prevent excessive stretching */
@media screen and (min-width: 1600px) {
    .portfolio-grid {
        max-width: 1600px;
    }
    
    .build-card {
        max-width: 600px; /* Absolute max width for readability */
    }
}

/* Build Cards */
.build-card {
    position: relative;
    height: 100%;
    width: auto;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background: transparent;
    padding: 0;
    display: block;
    flex-shrink: 1; /* Allow shrinking to fit container */
    max-width: calc(50% - 0.75rem); /* Ensure two-card rows never exceed container */
    min-width: 200px; /* Minimum size to maintain readability */
}

.build-card .image-container {
    width: 100%;
    height: 100%;
    background: transparent;
    position: relative;
    overflow: hidden;
}

/* Specific aspect ratios for each build - matching actual image proportions */
.build-card[data-build="loriostrond"] {
    aspect-ratio: 19 / 10; /* 1.9:1 - wide landscape similar to actual 4096x2160 */
}

.build-card[data-build="aurelios"] {
    aspect-ratio: 19 / 10; /* 1.9:1 - wide landscape similar to actual 4096x2160 */
}

.build-card[data-build="adventus-mortis"] {
    aspect-ratio: 1 / 1; /* 1:1 - square */
}

.build-card[data-build="heliox-station"] {
    aspect-ratio: 1 / 1; /* 1:1 - square */
}

.build-card[data-build="yuanhua-pagoda"] {
    aspect-ratio: 16 / 9; /* 16:9 - standard widescreen */
}

.build-card[data-build="loriostrond"] {
    aspect-ratio: 19 / 10; /* 1.9:1 - wide landscape to match row above */
}

.build-card[data-build="palais-lumiere"] {
    aspect-ratio: 25 / 18; /* 1.39:1 - matches FrenchFront 3000x2160 dimensions */
}

.build-card[data-build="christmas-build-battle"] {
    aspect-ratio: 16 / 9; /* 16:9 - standard widescreen matches 3840x2160 */
}

.build-card[data-build="cma"] {
    aspect-ratio: 2800 / 2160; /* 1.296:1 - matches CMACinematic 2800x2160 dimensions */
}

.build-card:hover {
    transform: scale(1.02);
    border-color: var(--gold-color);
    box-shadow: 
        0 0 30px rgba(255, 215, 0, 0.4),
        0 15px 40px rgba(0, 0, 0, 0.6);
}

.build-card:hover .build-image {
    transform: scale(1.05);
}

.build-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    display: block;
    image-rendering: auto;
    image-rendering: high-quality;
    -ms-interpolation-mode: bicubic;
}

.build-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(
        transparent,
        rgba(0, 0, 0, 0.9)
    );
    padding: 2rem 2rem 1.5rem;
    text-align: center;
    transform: translateY(100%);
    opacity: 0;
    transition: var(--transition);
}

.build-card:hover .build-overlay {
    transform: translateY(0);
    opacity: 1;
    background: linear-gradient(
        transparent,
        rgba(0, 0, 0, 0.9)
    );
}

.build-title {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--gold-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    letter-spacing: 0.05em;
}

/* 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.95);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    margin: 2% auto;
    width: 95%;
    max-width: 1200px;
    height: 90vh;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.95), rgba(0, 0, 0, 0.98));
    border: 2px solid var(--gold-color);
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.3);
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--gold-color);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    transition: var(--transition);
}

.close:hover {
    color: var(--gold-hover);
    transform: scale(1.1);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 350px;
    height: 100%;
    padding: 2rem;
    gap: 2rem;
}

.modal-images {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
    overflow: hidden;
}

.image-carousel {
    position: relative;
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    background: var(--black);
}

.modal-main-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--black);
    image-rendering: auto;
    image-rendering: high-quality;
    -ms-interpolation-mode: bicubic;
    max-width: none;
    max-height: none;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    transform: translateY(-50%);
}

.prev-btn,
.next-btn {
    background: rgba(0, 0, 0, 0.7);
    color: var(--gold-color);
    border: 2px solid var(--gold-color);
    padding: 1rem 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 50%;
    transition: var(--transition);
}

.prev-btn:hover,
.next-btn:hover {
    background: var(--gold-color);
    color: var(--black);
    transform: scale(1.1);
}

.image-thumbnails {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.5rem 0;
    scrollbar-width: thin;
    scrollbar-color: var(--gold-color) transparent;
}

.thumbnail {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    flex-shrink: 0;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--gold-color);
    transform: scale(1.05);
}

.modal-info {
    padding: 1rem;
    overflow-y: auto;
}

.modal-info h2 {
    font-family: 'Cinzel', serif;
    color: var(--gold-color);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.modal-info p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .container {
        padding: 0 1rem;
    }
    
    .modal-body {
        grid-template-columns: 1fr;
        grid-template-rows: 2fr 1fr;
    }
    
    .portfolio-title {
        font-size: clamp(3rem, 10vw, 6rem);
    }
    
    .nav-container {
        padding: 1rem;
    }
}

@media screen and (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.5);
        padding: 2rem 0;
        backdrop-filter: blur(10px);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    .portfolio-section {
        padding: 2rem 0;
    }
    
    .portfolio-grid {
        gap: 2rem;
    }
    
    .build-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .build-card {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .modal-content {
        width: 98%;
        height: 95vh;
        margin: 1% auto;
    }
    
    .modal-body {
        padding: 1rem;
        gap: 1rem;
    }
    
    .carousel-controls {
        padding: 0 0.5rem;
    }
    
    .prev-btn,
    .next-btn {
        padding: 0.7rem 1rem;
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 768px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .portfolio-grid {
        gap: 2rem;
        padding: 0 0.5rem;
    }
    
    .portfolio-row {
        flex-direction: column;
        height: auto;
        gap: 2rem;
    }
    
    .build-card {
        margin: 0;
        width: calc(100% - 1rem);
        height: auto;
        margin-left: auto;
        margin-right: auto;
        max-height: 60vh;
    }
}

@media screen and (max-width: 480px) {
    .portfolio-title {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }
    
    .build-title {
        font-size: 1.5rem;
    }
    
    .build-overlay {
        padding: 2rem 1rem 1rem;
    }
    
    .container {
        padding: 0 0.25rem;
    }
    
    .portfolio-grid {
        gap: 1rem;
        padding: 0 0.25rem;
    }
    
    .build-card {
        width: calc(100% - 0.5rem);
        max-width: calc(100% - 0.5rem);
        margin-left: auto;
        margin-right: auto;
        max-height: 50vh;
    }
}

/* Mobile landscape orientation fix */
@media screen and (max-width: 768px) and (orientation: landscape) {
    .build-card {
        width: 50%;
        max-height: 10vh;
        margin: 0 auto;
        margin-bottom: 8rem;
    }
    
    .portfolio-grid {
        gap: 6rem;
        padding: 2rem 1rem;
    }
    
    .hero-section {
        min-height: 20vh;
        padding: 1rem 0;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    /* Ensure no overlap by adding extra spacing */
    .build-card:not(:last-child) {
        padding-bottom: 4rem;
    }
}

/* About Page Specific Styles */
.about-background .about-bg-image {
    background-image: url('../../builds/athion-builds/Aurelios_the_Lost_City/AtlantisInterior.png');
}

/* Contact Page Specific Styles */
.contact-background .contact-bg-image {
    background-image: url('../../builds/athion-builds/Aurelios_the_Lost_City/AtlantisBack.png');
}

.hero-subtitle {
    color: rgba(255, 215, 0, 0.8);
    font-weight: 300;
    margin-top: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
}

/* Story Section */
.about-story {
    padding: 4rem 0;
    background: var(--black);
}

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

.story-text h2 {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    color: var(--gold-color);
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.story-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--gold-color);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.story-text p:nth-child(2) { animation-delay: 0.2s; }
.story-text p:nth-child(3) { animation-delay: 0.4s; }
.story-text p:nth-child(4) { animation-delay: 0.6s; }
.story-text p:nth-child(5) { animation-delay: 0.8s; }

.story-image {
    opacity: 0;
    transform: translateX(30px);
    animation: fadeInRight 0.8s ease forwards;
    animation-delay: 1.0s;
}

.story-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* Timeline Styles */
.timeline {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.95), rgba(0, 0, 0, 0.98));
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 3.5rem;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gold-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin: 3rem 0;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.2s; }
.timeline-item:nth-child(2) { animation-delay: 0.4s; }
.timeline-item:nth-child(3) { animation-delay: 0.6s; }
.timeline-item:nth-child(4) { animation-delay: 0.8s; }
.timeline-item:nth-child(5) { animation-delay: 1.0s; }

.timeline-date {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold-color);
    color: var(--black);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1.1rem;
    z-index: 2;
}

.timeline-content {
    width: 45%;
    padding: 2rem;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid var(--gold-color);
    border-radius: 15px;
    margin-top: 2rem;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-content h3 {
    color: var(--gold-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: 'Cinzel', serif;
}

.timeline-content p {
    color: var(--gold-color);
    line-height: 1.6;
}

/* Achievements Section */
.achievements {
    padding: 6rem 0;
    background: var(--black);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.achievement-card {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05));
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.achievement-card:nth-child(1) { animation-delay: 0.1s; }
.achievement-card:nth-child(2) { animation-delay: 0.2s; }
.achievement-card:nth-child(3) { animation-delay: 0.3s; }
.achievement-card:nth-child(4) { animation-delay: 0.4s; }
.achievement-card:nth-child(5) { animation-delay: 0.5s; }
.achievement-card:nth-child(6) { animation-delay: 0.6s; }

.achievement-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold-color);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.2);
}

.achievement-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.achievement-card h3 {
    color: var(--gold-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: 'Cinzel', serif;
}

.achievement-card p {
    color: var(--gold-color);
    line-height: 1.6;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design for About Page */
@media screen and (max-width: 1024px) {
    .story-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .timeline-container::before {
        left: 20px;
    }
    
    .timeline-item {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 2rem;
    }
    
    .timeline-date {
        position: static;
        transform: none;
        margin-bottom: 1rem;
        margin-left: 0;
        align-self: flex-start;
    }
    
    .timeline-content {
        width: calc(100% - 40px);
        margin-left: 40px !important;
        margin-top: 0;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .story-text h2 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .timeline-container::before {
        left: 15px;
    }
    
    .timeline-content {
        width: calc(100% - 30px);
        margin-left: 30px !important;
        padding: 1.5rem;
    }
    
    .timeline-date {
        margin-left: 0;
        font-size: 1rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-hover);
}

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

/* Hero Animations */
@keyframes slideUpFromBottom {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.portfolio-title {
    opacity: 0;
    animation: slideUpFromBottom 0.8s ease-out forwards;
    animation-delay: 0.2s;
}

.hero-subtitle {
    opacity: 0;
    font-size: 1.8rem;
    animation: slideUpFromBottom 0.8s ease-out forwards;
    animation-delay: 0.5s;
}

.build-card {
    animation: fadeIn 0.8s ease-out forwards;
}

.build-card:nth-child(1) { animation-delay: 0.1s; }
.build-card:nth-child(2) { animation-delay: 0.2s; }
.build-card:nth-child(3) { animation-delay: 0.3s; }

/* Contact Form Section */
.contact-form-section {
    background: var(--black);
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    position: sticky;
    top: 20px;
}

.contact-info .section-title {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--gold-color);
}

.contact-info p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
    opacity: 0.9;
    color: var(--gold-color);
}

.contact-methods {
    margin-bottom: 40px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(255, 215, 0, 0.05);
    border-radius: 12px;
    border-left: 3px solid var(--gold-color);
    transition: var(--transition);
}

.contact-method:hover {
    background: rgba(255, 215, 0, 0.1);
    transform: translateX(5px);
}

.contact-icon {
    font-size: 1.5rem;
    min-width: 40px;
    text-align: center;
}

.contact-details h3 {
    color: var(--gold-color);
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-details p {
    margin: 0;
    opacity: 0.8;
    font-size: 0.95rem;
    color: var(--gold-color);
}

.availability {
    padding: 25px;
    background: rgba(0, 255, 0, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 0, 0.3);
}

.availability h3 {
    color: var(--gold-color);
    margin-bottom: 15px;
}

.availability-status {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #00ff00;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Contact Form Styles */
.contact-form {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    backdrop-filter: blur(10px);
}

.contact-form h2 {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    color: var(--gold-color);
    margin-bottom: 30px;
    text-align: center;
}

.minecraft-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.minecraft-form .form-group {
    margin-bottom: 25px;
}

.minecraft-form .form-group.half {
    margin-bottom: 0;
}

.minecraft-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
}

.minecraft-form .required {
    color: #ff6b6b;
}

.minecraft-form input[type="text"],
.minecraft-form input[type="email"],
.minecraft-form select,
.minecraft-form textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    color: var(--white);
    font-size: 1rem;
    transition: var(--transition);
}

.minecraft-form input[type="text"]:focus,
.minecraft-form input[type="email"]:focus,
.minecraft-form select:focus,
.minecraft-form textarea:focus {
    outline: none;
    border-color: var(--gold-color);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.minecraft-form textarea {
    min-height: 120px;
    resize: vertical;
    font-family: inherit;
}

.minecraft-form select {
    cursor: pointer;
}

.minecraft-form select option {
    background: var(--black);
    color: var(--white);
}

/* Radio Group Styles */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 215, 0, 0.2);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: normal;
    margin-bottom: 0;
    color: var(--gold-color);
}

.radio-label:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 215, 0, 0.4);
}

.radio-label input[type="radio"] {
    width: auto;
    margin: 0;
    accent-color: var(--gold-color);
    cursor: pointer;
}

.radio-label input[type="radio"]:checked + span,
.radio-label:has(input[type="radio"]:checked) {
    color: var(--gold-color);
    background: rgba(255, 215, 0, 0.1);
    border-color: var(--gold-color);
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--gold-color), var(--gold-hover));
    color: var(--black);
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 20px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info {
        position: static;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .minecraft-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .minecraft-form .form-group.half {
        margin-bottom: 25px;
    }
    
    .contact-info .section-title {
        font-size: 2rem;
    }
    
    .radio-group {
        gap: 8px;
    }
    
    .radio-label {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(20, 20, 20, 0.95));
    border-top: 2px solid rgba(255, 215, 0, 0.3);
    padding: 60px 0 30px;
    margin-top: 80px;
    backdrop-filter: blur(10px);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    color: var(--gold-color);
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.footer-section h4 {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    color: var(--gold-color);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding-left: 20px;
}

.footer-section ul li a:before {
    content: "▶";
    position: absolute;
    left: 0;
    color: var(--gold-color);
    font-size: 0.8rem;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--gold-color);
    transform: translateX(5px);
}

.footer-section ul li a:hover:before {
    transform: translateX(3px);
}

/* Connect Section Styling */
.connect-links p {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 8px 0;
}

.connect-label {
    color: var(--gold-color);
    font-weight: 600;
    min-width: 80px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.connect-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    margin-left: 10px;
    position: relative;
}

.connect-link:hover {
    color: var(--gold-color);
}

.social-link {
    position: relative;
}

.social-link:before {
    content: "🔗";
    margin-right: 5px;
    font-size: 0.9rem;
}

.social-link[href*="youtube"]:before {
    content: "📺";
}

.social-link[href*="twitch"]:before {
    content: "📡";
}

.social-link:hover {
    transform: translateY(-2px);
}

/* Footer Bottom */
.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
}

/* Footer Responsive Design */
@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
        margin-top: 60px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-section h3 {
        font-size: 1.5rem;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
    }
    
    .connect-links p {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .connect-label {
        min-width: auto;
        margin-right: 5px;
    }
    
    .footer-section ul li a {
        padding-left: 0;
        justify-content: center;
    }
    
    .footer-section ul li a:before {
        display: none;
    }
}

/* Social Mention Links in About Page */
.social-mention {
    color: var(--gold-color);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: var(--transition);
    border-bottom: 2px solid transparent;
}

.social-mention:hover {
    color: var(--gold-hover);
    border-bottom-color: var(--gold-color);
    transform: translateY(-1px);
}

.social-mention[href*="youtube"]:before {
    content: "📺 ";
    margin-right: 3px;
}

.social-mention[href*="twitch"]:before {
    content: "📡 ";
    margin-right: 3px;
}

/* Skills Section */
.skills {
    padding: 6rem 0;
    background: var(--black);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.skill-category h3 {
    color: var(--gold-color);
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.skill-category ul {
    list-style: none;
    padding: 0;
}

.skill-category li {
    color: var(--gold-color);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    position: relative;
    padding-left: 1.5rem;
}

.skill-category li:before {
    content: "▸";
    color: var(--gold-color);
    position: absolute;
    left: 0;
}

/* Philosophy Section */
.philosophy {
    padding: 6rem 0;
    background: var(--black);
}

.philosophy-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.philosophy h2 {
    color: var(--gold-color);
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.philosophy blockquote {
    color: var(--gold-color);
    font-size: 1.5rem;
    font-style: italic;
    margin: 2rem 0;
    padding: 2rem;
    background: rgba(255, 215, 0, 0.05);
    border-left: 4px solid var(--gold-color);
    border-radius: 8px;
}

.philosophy p {
    color: var(--gold-color);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Services Overview Section */
.services-overview {
    padding: 6rem 0;
    background: var(--black);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: rgba(255, 215, 0, 0.05);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    transition: var(--transition);
}

.service-card:hover {
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-5px);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--gold-color);
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--gold-color);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-card ul {
    list-style: none;
    padding: 0;
}

.service-card li {
    color: var(--gold-color);
    padding: 0.3rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.service-card li:before {
    content: "✓";
    color: var(--gold-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* FAQ Section */
.faq {
    padding: 6rem 0;
    background: var(--black);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.faq-item {
    background: rgba(255, 215, 0, 0.05);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--gold-color);
    transition: var(--transition);
}

.faq-item:hover {
    background: rgba(255, 215, 0, 0.1);
}

.faq-item h3 {
    color: var(--gold-color);
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.faq-item p {
    color: var(--gold-color);
    line-height: 1.6;
}
