/* Gift Card Page Specific Styles */

/* Mobile-First Base Styles */
* {
    box-sizing: border-box;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Mobile Container Adjustments */
@media (max-width: 768px) {
    .container {
        padding: 0 0.75rem;
    }
}

/* Hero Section */
.gift-hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.gift-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.gift-hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(105, 36, 101, 1) 0%, rgba(75, 25, 80, 1) 100%);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
}

.gift-hero .hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5), 1px 1px 4px rgba(0,0,0,0.3);
}

.gift-hero .hero-subtitle {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: #FFFFFF;
    font-weight: 500;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8), 1px 1px 4px rgba(0,0,0,0.6);
    opacity: 1;
}

.gift-hero .hero-description {
    font-size: 1.3rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    color: #FFFFFF;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8), 1px 1px 4px rgba(0,0,0,0.6);
    opacity: 1;
}

/* Why Gift Card Section */
.why-gift-card {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

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

.reason-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-top: 4px solid #692465;
}

.reason-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(105, 36, 101, 0.15);
}

.reason-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.reason-card h3 {
    color: #692465;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.reason-card p {
    color: #555;
    line-height: 1.7;
    font-size: 1.1rem;
}

/* Gift Options Section */
.gift-options {
    padding: 80px 0;
    background: #fff;
}

.gift-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    align-items: stretch;
}

.gift-card {
    background: white;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid #e9ecef;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.gift-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(105, 36, 101, 0.15);
}

.gift-card.popular {
    border-color: #692465;
    transform: scale(1.05);
    z-index: 2;
}

.gift-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.gift-card.premium {
    background: linear-gradient(135deg, #692465 0%, #5a1e56 100%);
    color: white;
    border-color: #692465;
}

.card-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: #ff6b35;
    color: white;
    padding: 8px 40px;
    font-size: 0.9rem;
    font-weight: 600;
    transform: rotate(45deg);
    z-index: 3;
}

.card-header {
    text-align: center;
    padding: 2.5rem 2rem 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.gift-card.premium .card-header {
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #692465;
    font-weight: 600;
}

.gift-card.premium .card-title {
    color: white;
}

.card-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #692465;
    margin-bottom: 0.5rem;
}

.gift-card.premium .card-price {
    color: #FFD700;
}

.card-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.card-features li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-right: 2rem;
    color: #555;
}

.card-features li:last-child {
    border-bottom: none;
}

.card-features li:before {
    content: '✓';
    position: absolute;
    right: 0;
    color: #28a745;
    font-weight: bold;
    font-size: 1.1rem;
}

.gift-card.premium .card-features li {
    color: rgba(255,255,255,0.9);
    border-bottom-color: rgba(255,255,255,0.2);
}

.gift-card.premium .card-features li:before {
    color: #FFD700;
}

.card-note {
    background: rgba(105, 36, 101, 0.05);
    padding: 1rem;
    border-radius: 8px;
    font-style: italic;
    color: #692465;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.gift-card.premium .card-note {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.9);
}

.card-btn {
    width: 100%;
    padding: 1.2rem;
    background: #692465;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.card-btn:hover {
    background: #5a1e56;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(105, 36, 101, 0.3);
}

.gift-card.premium .card-btn {
    background: #FFD700;
    color: #692465;
}

.gift-card.premium .card-btn:hover {
    background: #FFC107;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background: linear-gradient(135deg, #692465 0%, #5a1e56 100%);
    color: white;
}

.how-it-works .section-title {
    color: white;
}

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

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: white;
    color: #692465;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.step h3 {
    margin-bottom: 1rem;
    color: white;
    font-size: 1.3rem;
}

.step p {
    color: rgba(255,255,255,0.9);
    line-height: 1.7;
}

/* Testimonials */
.gift-testimonials {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.testimonial {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    position: relative;
}

.testimonial:before {
    content: '"';
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 4rem;
    color: rgba(105, 36, 101, 0.1);
    font-family: serif;
}

.testimonial p {
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #555;
    font-size: 1.1rem;
}

.testimonial cite {
    display: block;
    text-align: left;
    font-weight: 600;
    color: #692465;
    font-style: normal;
}

/* Purchase CTA Section */
.purchase-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
    font-weight: 600;
}

.cta-description {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-right: auto;
    margin-left: auto;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn-phone {
    background: white;
    color: #28a745;
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-phone:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.payment-info {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    max-width: 500px;
    margin: 0 auto;
    border: 1px solid rgba(255,255,255,0.2);
}

.payment-info h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.payment-methods {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1rem;
}

.payment-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-size: 0.95rem;
}

.payment-icon {
    font-size: 1.5rem;
}

/* SEO Content Section */
.seo-content {
    padding: 60px 0;
    background: #fff;
}

.seo-text {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
    color: #555;
}

.seo-text h2 {
    color: #692465;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.seo-text h3 {
    color: #692465;
    margin: 2rem 0 1rem;
    font-size: 1.5rem;
}

.seo-text ul {
    margin: 1rem 0;
    padding-right: 2rem;
}

.seo-text ul li {
    margin-bottom: 0.5rem;
}

.seo-text strong {
    color: #692465;
}

/* Navigation Active State */
.nav-link.active {
    color: #692465;
    font-weight: 600;
}

/* Footer Links */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-links a:hover {
    color: #3498db;
    text-decoration: underline;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .gift-hero .hero-title {
        font-size: 2.5rem;
    }

    .gift-hero .hero-subtitle {
        font-size: 1.8rem;
    }

    .gift-hero .hero-description {
        font-size: 1.1rem;
    }

    .reasons-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .gift-cards {
        grid-template-columns: 1fr;
    }

    .gift-card.popular {
        transform: none;
    }

    .gift-card.popular:hover {
        transform: translateY(-10px);
    }

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

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

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .payment-methods {
        justify-content: center;
    }

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

    .cta-description {
        font-size: 1.1rem;
    }

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

@media screen and (max-width: 480px) {
    .gift-hero {
        min-height: 70vh;
    }

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

    .gift-hero .hero-subtitle {
        font-size: 1.5rem;
    }

    .reason-card,
    .testimonial {
        padding: 1.5rem;
    }

    .card-content {
        padding: 1.5rem;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .payment-methods {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* Loading Animation for Gift Card Selection */
.card-btn.loading {
    background: #ccc;
    cursor: not-allowed;
    position: relative;
}

.card-btn.loading:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Accessibility Improvements */
.gift-card:focus-within {
    outline: 3px solid #692465;
    outline-offset: 3px;
}

.card-btn:focus {
    outline: 2px solid #692465;
    outline-offset: 2px;
}

/* Enhanced Mobile Responsive - Overrides */
@media screen and (max-width: 768px) {
    /* Improved Mobile Layout */
    .container {
        padding: 0 0.75rem !important;
        margin: 0 auto !important;
    }

    .gift-hero {
        padding: 2rem 0 !important;
        text-align: center !important;
    }

    .hero-content {
        padding: 0 1rem !important;
    }

    .section-title {
        font-size: 2rem !important;
        text-align: center !important;
        margin-bottom: 1.5rem !important;
    }

    /* Grid Improvements */
    .gift-cards {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        padding: 0 !important;
    }

    .gift-card {
        margin: 0 !important;
        width: 100% !important;
    }

    .reasons-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .steps-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    /* Button Improvements */
    .cta-buttons {
        flex-direction: column !important;
        align-items: center !important;
        gap: 1rem !important;
    }

    .cta-buttons .btn {
        width: 100% !important;
        max-width: 320px !important;
    }

    /* Typography Adjustments */
    .cta-title {
        font-size: 2rem !important;
        line-height: 1.3 !important;
        text-align: center !important;
    }

    /* Payment Methods Grid */
    .payment-methods {
        justify-content: center !important;
        flex-wrap: wrap !important;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 0.5rem !important;
    }

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

    .gift-hero .hero-subtitle {
        font-size: 1.5rem !important;
    }

    .section-title {
        font-size: 1.75rem !important;
    }
}

/* Print Styles */
@media print {
    .gift-hero,
    .purchase-cta,
    .site-header,
    .site-footer {
        display: none;
    }

    .gift-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}