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

/* Icon Color Standardization */
.fas, .fab {
    color: #219092;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('Pictures/coastal-bg.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    min-height: 100vh;
}

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

/* Typography */
h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.section-title {
    font-size: 3.6rem;
    text-align: center;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-family: 'Great Vibes', cursive;
    font-weight: 400;
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: #f5f5f5;
    margin-bottom: 3rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.couple-names {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
}

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

.nav-link {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #219092;
}

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

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

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

.bar {
    width: 25px;
    height: 3px;
    background-color: #2c3e50;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.5s forwards;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.7s forwards;
}

.hero-date {
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.9s forwards;
}

.date-text {
    display: block;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.location-text {
    display: block;
    font-size: 1.2rem;
    opacity: 0.9;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    opacity: 0;
    animation: fadeInUp 1s ease 1.0s forwards;
}

.countdown-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 1rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 80px;
}

.countdown-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    font-family: 'Playfair Display', serif;
    line-height: 1;
}

.countdown-label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    opacity: 0;
    animation: fadeInUp 1s ease 1.1s forwards;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: #219092;
    color: white;
}

.btn-primary:hover {
    background: #E8924A;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(245, 161, 102, 0.4);
}

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

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

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('Pictures/HERO.jpeg') center/cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #219092;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    z-index: 2;
}

/* Introduction Text Box */
.intro-text {
    padding: 60px 0;
    background: transparent;
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
}

.intro-text .container {
    max-width: none;
    width: 100%;
    padding: 0 40px;
}

.intro-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 30px 80px;
    background: rgba(248, 249, 250, 0.8);
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.intro-content p {
    font-size: 1.3rem;
    line-height: 1.5;
    color: #2c3e50;
    margin-bottom: 1.2rem;
    font-family: 'Playfair Display', serif;
    font-style: italic;
}

.intro-content p:last-child {
    margin-bottom: 0;
}

/* Story Section */
.story {
    padding: 100px 0;
    background: transparent;
}

.story-layout {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.story-image-left,
.story-image-right {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.story-image-left:hover,
.story-image-right:hover {
    transform: scale(1.05);
}

.story-image-left img,
.story-image-right img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.story-text {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}


.story-text p {
    color: #2c3e50;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.story-text p:last-child {
    margin-bottom: 0;
}

/* Events Section */
.events {
    padding: 100px 0;
    background: transparent;
}

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

.event-card {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    background: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.event-icon {
    font-size: 3rem;
    color: #219092;
    margin-bottom: 1rem;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-icon img {
    width: 96px;
    height: 96px;
    object-fit: contain;
}

.wedding-rings-logo {
    width: 96px;
    height: 96px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.wedding-rings-logo svg {
    width: 100%;
    height: 100%;
}

.event-card h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.event-time {
    font-weight: 700;
    color: #219092;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.event-location {
    font-weight: 700;
    color: #219092;
    margin-bottom: 0.5rem;
}

.event-address {
    color: #219092;
    font-size: 0.9rem;
}

/* Attire & Directions Section */
.attire-directions {
    padding: 100px 0;
    background: transparent;
}

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

.attire-directions-card {
    background: #ffffff;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.attire-directions-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.attire-directions-icon {
    font-size: 3rem;
    color: #219092;
    margin-bottom: 1.5rem;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.attire-directions-icon img {
    width: 96px;
    height: 96px;
    object-fit: contain;
}

.attire-directions-card h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.attire-directions-content {
    color: #555;
    line-height: 1.8;
    text-align: center;
}

.attire-directions-content p {
    margin-bottom: 1rem;
}

.attire-directions-content ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem auto;
    display: inline-block;
    text-align: left;
}

.attire-directions-content li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.attire-directions-content li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #219092;
    font-weight: bold;
}

.attire-directions-content .note {
    font-style: italic;
    color: #7f8c8d;
    margin-top: 1.5rem;
    padding: 1rem;
    background: #fff;
    border-left: 3px solid #219092;
    border-radius: 5px;
}

.map-container {
    margin: 1.5rem 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 250px;
}

.directions-info {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid #e8e8e8;
}

.directions-info ul {
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .attire-directions-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .attire-directions-card {
        padding: 2rem;
    }
}

/* Attire Section Below */
.attire-section {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
}

.attire-card {
    background: #ffffff;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 600px;
    width: 100%;
}

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

.attire-icon {
    font-size: 3rem;
    color: #219092;
    margin-bottom: 1.5rem;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.attire-icon img {
    width: 96px;
    height: 96px;
    object-fit: contain;
}

.simple-attire-logo {
    width: 96px;
    height: 96px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.simple-attire-logo svg {
    width: 100%;
    height: 100%;
}

.dress-icon {
    width: 96px;
    height: 96px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.dress-icon svg {
    width: 100%;
    height: 100%;
}

.attire-card h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    text-align: center;
}

.attire-content {
    color: #555;
    line-height: 1.8;
    text-align: center;
}

.attire-content p {
    margin-bottom: 1rem;
}

.attire-content ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.attire-content li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.attire-content li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #219092;
    font-weight: bold;
}

.attire-content .note {
    font-style: italic;
    color: #7f8c8d;
    margin-top: 1.5rem;
    padding: 1rem;
    background: #fff;
    border-left: 3px solid #219092;
    border-radius: 5px;
    text-align: left;
}

@media (max-width: 768px) {
    .attire-card {
        padding: 2rem;
        margin: 0 1rem;
    }
}

/* Attire Section */
.attire {
    padding: 100px 0;
    background: #f8f9fa;
}

.attire-content-card {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.attire-icon {
    font-size: 3rem;
    color: #219092;
    margin-bottom: 1.5rem;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.attire-details {
    flex: 1;
}

.attire-details h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.attire-details p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.attire-guidelines {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.guideline-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #219092;
}

.guideline-item i {
    font-size: 1.5rem;
    color: #219092;
    margin-top: 0.25rem;
}

.guideline-item h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.guideline-item p {
    color: #555;
    margin: 0;
    font-size: 0.95rem;
}

.attire-note {
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #219092;
    margin-top: 1rem;
}

.attire-note p {
    margin: 0;
    color: #7f8c8d;
    font-style: italic;
}

@media (max-width: 768px) {
    .attire-content-card {
        flex-direction: column;
        padding: 2rem;
        text-align: center;
    }
    
    .attire-guidelines {
        grid-template-columns: 1fr;
    }
    
    .guideline-item {
        text-align: left;
    }
}

/* Gallery Section */
.gallery {
    padding: 100px 0;
    background: transparent;
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 1;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: #219092;
    font-size: 2rem;
}

/* RSVP Section */
.rsvp {
    padding: 100px 0;
    background: transparent;
}

.rsvp-form-container {
    max-width: 600px;
    margin: 0 auto;
}

.rsvp-form {
    background: #f8f9fa;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #219092;
}

.radio-group {
    display: flex;
    gap: 2rem;
}

.additional-details {
    background: rgba(245, 161, 102, 0.05);
    padding: 2rem;
    border-radius: 10px;
    margin-top: 1rem;
    border-left: 4px solid #219092;
    transition: all 0.3s ease;
}

.meal-selection {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
}

.meal-option {
    flex: 1;
}

.form-help {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.guest-fields {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.guest-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border: 2px solid #e9ecef;
    transition: border-color 0.3s ease;
}

.guest-card:hover {
    border-color: #219092;
}

.guest-header {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.guest-details {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    align-items: end;
}

.guest-details .form-group {
    margin-bottom: 0;
}

.guest-details label {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.guest-details input {
    padding: 10px 12px;
    font-size: 0.9rem;
}

.guest-options {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.guest-options .radio-group {
    gap: 1rem;
}

.guest-options .radio-label {
    font-size: 0.9rem;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: normal;
}

.radio-label input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #e9ecef;
    border-radius: 50%;
    margin-right: 10px;
    position: relative;
    transition: all 0.3s ease;
}

.radio-label input[type="radio"]:checked + .radio-custom {
    border-color: #219092;
}

.radio-label input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: #219092;
    border-radius: 50%;
}

.btn-large {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
}

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

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

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: #219092;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #E8924A;
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

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

    .hamburger {
        display: flex;
    }

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

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

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

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .date-text {
        font-size: 1.4rem;
    }

    .location-text {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .countdown-timer {
        gap: 1rem;
        margin: 1.5rem 0;
    }

    .countdown-item {
        padding: 0.8rem 1rem;
        min-width: 60px;
    }

    .countdown-number {
        font-size: 2rem;
    }

    .countdown-label {
        font-size: 0.8rem;
    }

    .section-title {
        font-size: 2.4rem;
    }

    .story-timeline::before {
        left: 30px;
    }

    .story-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .story-image-left,
    .story-image-right {
        order: 2;
    }

    .story-text {
        order: 1;
        padding: 2rem;
    }

    .story-image-left img,
    .story-image-right img {
        height: 300px;
    }

    .events-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .radio-group {
        flex-direction: column;
        gap: 1rem;
    }

    .meal-selection {
        flex-direction: column;
        gap: 1rem;
    }

    .guest-details {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .guest-options {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Upload Page Styles */
.upload-section {
    padding: 120px 0 100px 0;
    background: #f8f9fa;
    min-height: 100vh;
}

.upload-container {
    max-width: 800px;
    margin: 0 auto;
}

.upload-card {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.upload-icon {
    font-size: 4rem;
    color: #219092;
    margin-bottom: 2rem;
}

.upload-card h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.upload-description {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.upload-form {
    text-align: left;
    margin-top: 2rem;
}

.file-upload-area {
    border: 3px dashed #e9ecef;
    border-radius: 10px;
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    background: #f8f9fa;
}

.file-upload-area:hover {
    border-color: #219092;
    background: rgba(245, 161, 102, 0.05);
}

.file-upload-area.dragover {
    border-color: #219092;
    background: rgba(245, 161, 102, 0.1);
}

.file-upload-area input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.upload-content i {
    font-size: 3rem;
    color: #219092;
    margin-bottom: 1rem;
}

.upload-text {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.upload-hint {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.file-preview {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
}

.file-preview-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1;
}

.file-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.file-preview-item .remove-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.file-preview-item .remove-btn:hover {
    background: rgba(0, 0, 0, 0.9);
}

.upload-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
}

.upload-status p {
    margin: 0;
    font-size: 0.95rem;
}

.upload-guidelines {
    background: rgba(245, 161, 102, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem 0;
    border-left: 4px solid #219092;
}

.upload-guidelines h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.upload-guidelines ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.upload-guidelines li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #555;
    font-size: 0.95rem;
}

.upload-guidelines li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #219092;
    font-weight: bold;
}

.upload-success {
    background: rgba(40, 167, 69, 0.1);
    border: 2px solid #28a745;
    border-radius: 10px;
    padding: 2rem;
    margin-top: 2rem;
}

.success-content i {
    font-size: 3rem;
    color: #28a745;
    margin-bottom: 1rem;
}

.success-content h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.success-content p {
    color: #555;
    margin-bottom: 1.5rem;
}

.nav-link.active {
    color: #219092;
    font-weight: 600;
}

.nav-link.active::after {
    width: 100%;
}

@media (max-width: 768px) {
    .upload-card {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .file-upload-area {
        padding: 2rem 1rem;
    }
    
    .upload-content i {
        font-size: 2.5rem;
    }
    
    .upload-text {
        font-size: 1rem;
    }
    
    .file-preview {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

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

    .story-text {
        padding: 1.5rem;
    }

    .story-text p {
        font-size: 1rem;
    }

    .story-image-left img,
    .story-image-right img {
        height: 250px;
    }

    .section-title {
        font-size: 2.16rem;
    }
    
    .upload-card {
        padding: 1.5rem;
    }
    
    .file-upload-area {
        padding: 1.5rem 1rem;
    }
}
