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

body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #000000;
    line-height: 1.6;
    letter-spacing: 0.3px;
}

/* Updated Landing Section Styles */
#landing {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.landing-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    padding: 0 2rem;
}

.landing-text {
    flex: 1;
    max-width: 600px;
}

.landing-text h1 {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -2px;
    position: relative;
}

.glitch {
    position: relative;
    animation: glitch-skew 1s infinite linear alternate-reverse;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    clip: rect(44px, 450px, 56px, 0);
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 #ff00c1;
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: 2px 0 #00fff9;
    animation: glitch-anim-2 1s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% {
        clip: rect(31px, 9999px, 94px, 0);
        transform: skew(0.85deg);
    }
    5% {
        clip: rect(70px, 9999px, 71px, 0);
        transform: skew(0.85deg);
    }
    10% {
        clip: rect(29px, 9999px, 26px, 0);
        transform: skew(-0.85deg);
    }
    15% {
        clip: rect(9px, 9999px, 81px, 0);
        transform: skew(0.45deg);
    }
    20% {
        clip: rect(65px, 9999px, 6px, 0);
        transform: skew(-0.45deg);
    }
    25% {
        clip: rect(90px, 9999px, 92px, 0);
        transform: skew(0.45deg);
    }
    100% {
        clip: rect(91px, 9999px, 92px, 0);
        transform: skew(-0.85deg);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip: rect(65px, 9999px, 119px, 0);
        transform: skew(0.85deg);
    }
    50% {
        clip: rect(45px, 9999px, 79px, 0);
        transform: skew(-0.85deg);
    }
    100% {
        clip: rect(10px, 9999px, 113px, 0);
        transform: skew(0.85deg);
    }
}

@keyframes glitch-skew {
    0% { transform: skew(-2deg); }
    100% { transform: skew(2deg); }
}

.landing-text h2 {
    font-size: 1.8rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 8px;
    margin-bottom: 2rem;
}

.landing-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 500px;
}

.landing-cta {
    display: flex;
    gap: 2rem;
}

.cta-primary,
.cta-secondary {
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.cta-primary {
    background: #000;
    color: #fff;
    border: 2px solid #000;
}

.cta-secondary {
    color: #000;
    border: 2px solid #000;
}

.cta-primary:hover {
    background: #fff;
    color: #000;
}

.cta-secondary:hover {
    background: #000;
    color: #fff;
}

/* Update Landing Visual Styles */
.landing-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 2rem;
}

.profile-container {
    position: relative;
    width: 400px;
    height: 500px;
    margin-left: 4rem;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    position: relative;
    z-index: 2;
    transition: filter 0.3s ease;
}

.profile-image:hover {
    filter: grayscale(0%);
}

.image-border {
    position: absolute;
    top: -20px;
    left: 20px;
    width: 100%;
    height: 100%;
    border: 2px solid #000;
    z-index: 1;
}

/* Update responsive styles */
@media (max-width: 1024px) {
    .landing-content {
        flex-direction: column;
        text-align: center;
        gap: 4rem;
    }

    .profile-container {
        width: 300px;
        height: 375px;
        margin-left: 0;
    }

    .landing-text {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .profile-container {
        width: 240px;
        height: 300px;
    }

    .image-border {
        top: -15px;
        left: 15px;
    }
}

.geometric-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border: 2px solid #000;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 30%;
    left: 60%;
    transform: rotate(30deg);
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 60%;
    left: 40%;
    transform: rotate(15deg);
}

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

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid #000;
    border-radius: 15px;
    position: relative;
}

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

.arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid #000;
    border-bottom: 2px solid #000;
    transform: rotate(45deg);
}

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

@media (max-width: 1024px) {
    .landing-content {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }

    .landing-text {
        margin-bottom: 3rem;
    }

    .landing-text h1 {
        font-size: 4rem;
    }

    .landing-cta {
        justify-content: center;
    }

    .landing-visual {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .landing-text h1 {
        font-size: 3rem;
    }

    .landing-text h2 {
        font-size: 1.2rem;
        letter-spacing: 5px;
    }

    .landing-description {
        font-size: 1rem;
    }

    .landing-cta {
        flex-direction: column;
        gap: 1rem;
    }

    .landing-visual {
        height: 300px;
    }
}

/* About Section */
#about {
    padding: 8rem 2rem;
    background: linear-gradient(to right, #f8f8f8 50%, #ffffff 50%);
}

.about-card {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 4rem;
    border: 2px solid #000000;
    padding: 4rem;
    background: #ffffff;
    position: relative;
}

.about-card::before {
    content: 'ABOUT';
    position: absolute;
    top: -1rem;
    left: 4rem;
    background: #fff;
    padding: 0 1rem;
    font-size: 0.9rem;
    letter-spacing: 5px;
    font-weight: 600;
}

.profile-image {
    flex: 1;
    position: relative;
}

.profile-image::after {
    content: '';
    position: absolute;
    top: -1rem;
    left: -1rem;
    width: 100%;
    height: 100%;
    border: 2px solid #000;
    z-index: -1;
}

.profile-image img {
    width: 100%;
    height: auto;
    filter: grayscale(100%);
}

.about-content {
    flex: 2;
}

.creative-container {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.geometric-design {
    position: relative;
    width: 100%;
    height: 100%;
}

.circle {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 2px solid #000;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rotate 20s linear infinite;
}

.geo-square {
    position: absolute;
    width: 180px;
    height: 180px;
    border: 2px solid #000;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    animation: rotate-reverse 15s linear infinite;
}

.triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173px solid #000;
    opacity: 0.1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 3s ease-in-out infinite;
}

.lines {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.lines span {
    position: absolute;
    width: 100%;
    height: 2px;
    background: #000;
    opacity: 0.2;
}

.lines span:nth-child(1) {
    top: 30%;
    transform: rotate(30deg);
}

.lines span:nth-child(2) {
    top: 50%;
    transform: rotate(-30deg);
}

.lines span:nth-child(3) {
    top: 70%;
    transform: rotate(60deg);
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes rotate-reverse {
    from { transform: translate(-50%, -50%) rotate(45deg); }
    to { transform: translate(-50%, -50%) rotate(-315deg); }
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
    100% { transform: translate(-50%, -50%) scale(1); }
}

/* Responsive styles */
@media (max-width: 768px) {
    .creative-container {
        width: 300px;
        height: 300px;
        margin-top: 2rem;
    }

    .circle {
        width: 150px;
        height: 150px;
    }

    .geo-square {
        width: 130px;
        height: 130px;
    }

    .triangle {
        border-left-width: 75px;
        border-right-width: 75px;
        border-bottom-width: 130px;
    }
}

/* Works Section Styles */
#works {
    padding: 5rem 2rem;
    background: #fff;
}

#works h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    letter-spacing: -1px;
}

.work-categories {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.category-header h3 {
    margin: 0;
    font-size: 1.8rem;
    letter-spacing: -0.5px;
    border-bottom: 2px solid #000;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.scroll-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #000;
    color: #fff;
    font-size: 12px;
    animation: bounce-horizontal 1.5s infinite;
}

@keyframes bounce-horizontal {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(5px);
    }
}

.category-section:hover .scroll-icon {
    animation-play-state: running;
}

.category-section .scroll-icon {
    animation-play-state: paused;
}

.category-projects {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 1rem 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-projects::-webkit-scrollbar {
    display: none;
}

/* Different sizes for each category */
.poster-projects .project-card {
    min-width: 400px;
    height: 400px; /* Square size */
}

.form-header-projects .project-card {
    min-width: 800px;
    height: 200px; /* Wide rectangle for headers */
}

.certificate-projects .project-card {
    min-width: 500px;
    height: 350px; /* Standard certificate aspect ratio */
}

.landing-projects .project-card {
    min-width: 700px;
    height: 450px; /* Taller to show full landing page */
}

.mockup-projects .project-card {
    min-width: 400px;
    height: 400px; /* Square size */
}

/* Update category section spacing */
.category-section {
    margin-bottom: 1rem;
}

.category-section:last-child {
    margin-bottom: 0;
}

/* Enhance category headings */
.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.category-header h3 {
    margin: 0;
    font-size: 1.8rem;
    letter-spacing: -0.5px;
    border-bottom: 2px solid #000;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.scroll-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #000;
    color: #fff;
    font-size: 12px;
    animation: bounce-horizontal 1.5s infinite;
}

@keyframes bounce-horizontal {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(5px);
    }
}

.category-section:hover .scroll-icon {
    animation-play-state: running;
}

.category-section .scroll-icon {
    animation-play-state: paused;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .project-card {
        min-width: 300px !important;
        height: 300px !important;
    }

    .form-header-projects .project-card {
        height: 77px !important;
    }

    .certificate-projects .project-card {
        height: 210px !important; 
    }

    .landing-projects .project-card {
        height: 200px !important;
    }

    .category-section {
        padding-bottom: 2px;
    }
}

.project-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    scroll-snap-align: start;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0%);
    transition: filter 0.3s ease;
}

.project-card:hover img {
    filter: grayscale(100%);
}

/* Contact Section */
#contact {
    padding: 8rem 2rem;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

#contact h2 {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.5rem;
    letter-spacing: -1px;
}

#contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

input, textarea {
    padding: 1.2rem;
    border: 2px solid #000000;
    background: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #666;
}

textarea {
    min-height: 180px;
    resize: vertical;
}

button {
    padding: 1.2rem 3rem;
    border: 2px solid #000000;
    background: #ffffff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    align-self: flex-start;
}

button:hover {
    background: #000000;
    color: #ffffff;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-links a {
    color: #000;
    text-decoration: none;
    font-size: 1.5rem;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-links a:hover {
    opacity: 0.7;
    transform: translateY(-2px);
}

/* Navigation Bar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav-logo {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #000;
}

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

.nav-links a {
    color: #000;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 0.5rem 0;
}

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

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

.resume-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    border: 2px solid #000;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-left: 2rem;
}

.resume-btn:hover {
    background: #000;
    color: #fff;
    transform: translateY(-2px);
}

.resume-btn:hover .download-icon path:last-child {
    fill: #fff;
}

.download-icon {
    width: 18px;
    height: 18px;
}

.download-icon path:last-child {
    fill: #000;
    transition: fill 0.3s ease;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 4px;
    z-index: 100;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #000;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.nav-toggle span:first-child {
    top: 25%;
}

.nav-toggle span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.nav-toggle span:last-child {
    bottom: 25%;
}

.nav-toggle.active span:first-child {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

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

.nav-toggle.active span:last-child {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #fff;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 99;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .resume-btn {
        margin-top: 1rem;
    }
}

/* Responsive Landing Section */
@media (max-width: 1024px) {
    .landing-content {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .landing-text {
        padding: 0 var(--container-padding);
    }

    .landing-cta {
        justify-content: center;
    }
}

/* Responsive About Section */
@media (max-width: 1024px) {
    .about-card {
        flex-direction: column;
        padding: var(--container-padding);
    }

    .profile-image {
        max-width: 300px;
        margin: 0 auto;
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    #works {
        padding: 3rem 1rem;
    }

    #works h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .category-section h3 {
        font-size: 1.5rem;
    }

    .poster-projects .project-card {
        min-width: 250px;
        height: 350px;
    }

    .ppt-projects .project-card {
        min-width: 300px;
        height: 250px;
    }

    .landing-projects .project-card {
        min-width: 350px;
        height: 300px;
    }
}

/* Responsive Contact Section */
@media (max-width: 768px) {
    #contact {
        padding: 4rem var(--container-padding);
    }

    .contact-form {
        gap: 1rem;
    }

    input, textarea {
        padding: 0.8rem;
    }

    .social-links {
        gap: 1.5rem;
    }
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .footer-links {
        justify-content: center;
    }
}

/* General Responsive Styles */
:root {
    --container-padding: 2rem;
}

@media (max-width: 1024px) {
    :root {
        --container-padding: 1.5rem;
    }

    h1 {
        font-size: calc(2.5rem + 2vw) !important;
    }

    h2 {
        font-size: calc(1.2rem + 1vw) !important;
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 1rem;
    }

    body {
        font-size: 0.95rem;
    }
}

/* Mobile Navigation Styles */
.navbar {
    padding: var(--container-padding);
}

.nav-toggle {
    width: 30px;
    height: 30px;
    position: relative;
    cursor: pointer;
    display: none;
    z-index: 100;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #000;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.nav-toggle span:first-child {
    top: 25%;
}

.nav-toggle span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.nav-toggle span:last-child {
    bottom: 25%;
}

.nav-toggle.active span:first-child {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

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

.nav-toggle.active span:last-child {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #fff;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 99;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .resume-btn {
        margin-top: 1rem;
    }
}

/* Responsive Landing Section */
@media (max-width: 1024px) {
    .landing-content {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .landing-text {
        padding: 0 var(--container-padding);
    }

    .landing-cta {
        justify-content: center;
    }
}

/* Responsive About Section */
@media (max-width: 1024px) {
    .about-card {
        flex-direction: column;
        padding: var(--container-padding);
    }

    .profile-image {
        max-width: 300px;
        margin: 0 auto;
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    #works {
        padding: 3rem 1rem;
    }

    #works h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .category-section h3 {
        font-size: 1.5rem;
    }

    .poster-projects .project-card {
        min-width: 250px;
        height: 350px;
    }

    .ppt-projects .project-card {
        min-width: 300px;
        height: 250px;
    }

    .landing-projects .project-card {
        min-width: 350px;
        height: 300px;
    }
}

/* Responsive Contact Section */
@media (max-width: 768px) {
    #contact {
        padding: 4rem var(--container-padding);
    }

    .contact-form {
        gap: 1rem;
    }

    input, textarea {
        padding: 0.8rem;
    }

    .social-links {
        gap: 1.5rem;
    }
}

/* Footer */
.footer {
    padding: 3rem 2rem 1.5rem;
    background: #f8f8f8;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: #000;
    text-decoration: none;
    font-size: 0.9rem;
    transition: opacity 0.3s ease;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 0.85rem;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer {
        padding: 2rem 1.5rem 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .footer-links {
        justify-content: center;
        gap: 0.5rem;
    }
    .social-links {
        justify-content: center;
        gap: 0.5rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.slide-in-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-left.visible,
.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Poster Series Section */
#poster-series {
    padding: 60px 0 40px 0;
    background: #f9f9f9;
}
#poster-series h2 {
    text-align: center;
    margin-bottom: 32px;
    font-size: 2.2rem;
    font-weight: 700;
}
.poster-series-cards {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}
.poster-series-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    padding: 24px 20px 16px 20px;
    width: 260px;
    text-align: center;
    text-decoration: none;
    color: #222;
    transition: transform 0.18s, box-shadow 0.18s;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}
.poster-series-card:hover, .poster-series-card:focus {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 8px 32px rgba(0,0,0,0.13);
    outline: none;
}
.poster-preview {
    border-radius: 12px;
    margin-bottom: 16px;
    object-fit: cover;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.poster-preview.square {
    width: 160px;
    height: 160px;
}
.poster-preview.vertical {
    width: 120px;
    height: 180px;
}
.poster-card-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-top: 4px;
}

/* Poster Gallery Styles (for both poster-series-square.html and poster-series-vertical.html) */
.poster-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 28px;
    max-width: 1000px;
    margin: 40px auto 0 auto;
    padding: 0 16px 40px 16px;
}
.square-gallery img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    background: #fff;
}
.vertical-gallery img {
    width: 100%;
    max-width: 260px;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    background: #fff;
    margin-left: auto;
    margin-right: auto;
    display: block;
}
.vertical-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    transition: transform 0.2s, box-shadow 0.2s;
}
.square-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    transition: transform 0.2s, box-shadow 0.2s;
}
@media (max-width: 700px) {
    .poster-series-cards {
        flex-direction: column;
        align-items: center;
    }
    .poster-series-card {
        width: 90vw;
        max-width: 320px;
    }
    .poster-gallery {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 500px) {
    .poster-gallery {
        grid-template-columns: 1fr;
    }
}

main {
    margin-top: 110px;
}