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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Kanit', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

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

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #2c5530;
}

.nav-logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

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

.nav-link:hover {
    color: #4a7c59;
}

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

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

.nav-cta {
    background: linear-gradient(135deg, #4a7c59, #6aa06b);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 124, 89, 0.3);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 124, 89, 0.4);
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 85, 48, 0.8), rgba(74, 124, 89, 0.6));
    z-index: -1;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 15px;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.6s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}

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

.hero-hours {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.1rem;
    animation: fadeInUp 1s ease 0.8s both;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c5530;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Promotions Section */
.promotions {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.promo-card {
    background: white;
    border-radius: 20px;
    padding: 45px 35px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.promo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
}

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

.promo-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
}

.promo-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #4a7c59, #6aa06b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 2.2rem;
    box-shadow: 0 8px 20px rgba(74, 124, 89, 0.3);
}

.promo-card h3 {
    font-size: 1.6rem;
    font-weight: 600;
    color: #2c5530;
    margin-bottom: 15px;
}

.duration {
    color: #666;
    margin-bottom: 20px;
}

.price-container {
    margin-bottom: 15px;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 1.2rem;
    margin-right: 10px;
}

.new-price {
    font-size: 2.8rem;
    font-weight: 700;
    color: #ff6b6b;
}

.discount {
    background: linear-gradient(135deg, #10ac84, #00d2d3);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    display: inline-block;
}

.promo-note {
    text-align: center;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.promo-note p {
    font-size: 1.1rem;
    color: #2c5530;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: #4a7c59;
    background: white;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #4a7c59, #6aa06b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.8rem;
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c5530;
    margin-bottom: 10px;
}

.service-duration {
    color: #666;
    margin-bottom: 15px;
}

.service-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #4a7c59;
}

/* Gallery Section */
.gallery {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

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

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

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

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

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

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

/* Contact Section */
.contact {
    padding: 100px 0;
    background: white;
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4a7c59, #6aa06b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.contact-details h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c5530;
    margin-bottom: 5px;
}

.contact-details a {
    color: #4a7c59;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #2c5530;
}

.contact-details p {
    color: #666;
    font-weight: 500;
}

/* Location Section */
.location-section {
    width: 100%;
}

.location-card {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid rgba(74, 124, 89, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.location-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.location-card:hover::before {
    left: 100%;
}

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

.location-header {
    background: linear-gradient(135deg, #4a7c59, #6aa06b);
    color: white;
    padding: 25px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.location-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    backdrop-filter: blur(10px);
}

.location-title h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 5px 0;
}

.location-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 400;
}

.location-content {
    padding: 30px;
    position: relative;
    z-index: 2;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.shop-name,
.shop-address,
.shop-hours {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.shop-name:hover,
.shop-address:hover,
.shop-hours:hover {
    background: linear-gradient(135deg, #e9ecef, #dee2e6);
    transform: translateX(5px);
}

.shop-name i,
.shop-address i,
.shop-hours i {
    width: 20px;
    color: #4a7c59;
    font-size: 1.1rem;
}

.shop-name span {
    font-weight: 600;
    color: #2c5530;
    font-size: 1.1rem;
}

.shop-address span,
.shop-hours span {
    color: #666;
    font-weight: 500;
}

.location-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.location-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    flex: 1;
    justify-content: center;
    min-width: 200px;
}

.location-btn.primary {
    background: linear-gradient(135deg, #4a7c59, #6aa06b);
    color: white;
    box-shadow: 0 4px 15px rgba(74, 124, 89, 0.3);
}

.location-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(74, 124, 89, 0.4);
}

.location-btn.secondary {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.location-btn.secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

.location-tips {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 25px 30px;
    margin: 0 -30px -30px -30px;
    border-top: 1px solid rgba(74, 124, 89, 0.1);
    position: relative;
    z-index: 2;
}

.location-tips h4 {
    color: #2c5530;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.location-tips h4 i {
    color: #ffd700;
    font-size: 1.1rem;
}

.tips-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.tip-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.tip-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.tip-item i {
    width: 20px;
    color: #4a7c59;
    font-size: 1rem;
    flex-shrink: 0;
}

.tip-item span {
    color: #666;
    font-weight: 500;
    line-height: 1.4;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2c5530, #4a7c59);
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
    align-items: center;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-logo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.footer-logo h3 {
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #a8e6cf;
}

.footer-social {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.footer-social a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: white;
    color: #2c5530;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    text-align: center;
}

.footer-tags {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.footer-tags span {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4a7c59, #6aa06b);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(74, 124, 89, 0.4);
}

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

/* Responsive Design */
@media (max-width: 1024px) and (min-width: 769px) {
    .promo-grid {
        gap: 25px;
        max-width: 700px;
    }

    .promo-card {
        padding: 35px 25px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 50px;
        transition: left 0.3s ease;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }

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

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

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

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

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

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

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

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

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .promo-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

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

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

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

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

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .nav-logo span {
        display: none;
    }

    .promo-card {
        padding: 35px 25px;
        min-height: 300px;
    }

    .promo-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .promo-card h3 {
        font-size: 1.4rem;
    }

    .new-price {
        font-size: 2.4rem;
    }

    .service-card {
        padding: 25px 20px;
    }

    .contact-item {
        padding: 20px;
    }

    .location-header {
        padding: 20px 25px;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .location-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .location-title h3 {
        font-size: 1.3rem;
    }

    .location-content {
        padding: 25px 20px;
    }

    .location-actions {
        flex-direction: column;
    }

    .location-btn {
        min-width: auto;
        width: 100%;
    }

    .location-tips {
        padding: 20px 25px;
        margin: 0 -20px -25px -20px;
    }

    .location-tips h4 {
        font-size: 1.1rem;
    }

    .tip-item {
        padding: 12px 15px;
    }

    .tip-item span {
        font-size: 0.9rem;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .back-to-top {
        display: none;
    }

    .hero {
        height: auto;
        padding: 50px 0;
    }

    .hero-bg {
        display: none;
    }

    .hero-overlay {
        display: none;
    }

    .hero-content {
        color: #333;
    }
}

/* Font Awesome Fallback Styles */
.fa-fallback {
    font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif;
    font-style: normal;
    font-weight: normal;
    display: inline-block;
    text-decoration: none;
}

/* Icon Loading Check */
i[class*="fa-"]:before {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", "Font Awesome 6 Pro";
}

/* Fallback when Font Awesome fails */
@supports not (font-family: "Font Awesome 6 Free") {
    .fas, .fab, .far {
        font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif !important;
    }
    
    .fa-phone:before { content: "📞"; }
    .fa-tags:before { content: "🏷️"; }
    .fa-hands:before { content: "👐"; }
    .fa-spa:before { content: "🧴"; }
    .fa-leaf:before { content: "🍃"; }
    .fa-shoe-prints:before { content: "👣"; }
    .fa-user-nurse:before { content: "💆"; }
    .fa-fire:before { content: "🔥"; }
    .fa-seedling:before { content: "🌱"; }
    .fa-hands-helping:before { content: "🤝"; }
    .fa-store:before { content: "🏪"; }
    .fa-location-dot:before { content: "📍"; }
    .fa-clock:before { content: "🕘"; }
    .fa-route:before { content: "🗺️"; }
    .fa-search-plus:before { content: "🔍"; }
    .fa-map-marker-alt:before { content: "📍"; }
    .fa-external-link-alt:before { content: "↗️"; }
    .fa-lightbulb:before { content: "💡"; }
    .fa-search:before { content: "🔍"; }
    .fa-phone-alt:before { content: "☎️"; }
    .fa-calendar-check:before { content: "📅"; }
    .fa-arrow-up:before { content: "↑"; }
    .fa-line:before { content: "💬"; }
}

/* External Link Security Styles */
a[data-external="true"] {
    position: relative;
}

a[data-external="true"]:hover {
    text-decoration: underline;
}

.external-indicator {
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

a[data-external="true"]:hover .external-indicator {
    opacity: 1;
}

/* Security Warning for External Links */
a[data-external="true"]::before {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    width: 6px;
    height: 6px;
    background: #28a745;
    border-radius: 50%;
    opacity: 0.7;
    z-index: 1;
}

/* Secure Link Styles */
.secure-link {
    border: 1px solid rgba(40, 167, 69, 0.3);
    border-radius: 4px;
    padding: 2px 4px;
    background: rgba(40, 167, 69, 0.05);
}

/* CSP Violation Warning (hidden by default) */
.csp-warning {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    background: #dc3545;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    z-index: 9999;
    font-size: 0.9rem;
}

.csp-warning.show {
    display: block;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .hero-overlay {
        background: rgba(0, 0, 0, 0.8);
    }

    .btn-primary {
        background: #000;
        border: 2px solid #000;
    }

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

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}
