:root {
    --primary-color: #4CAF50;
    --secondary-color: #2196F3;
    --accent-color: #FF4081;
    --text-color: #333;
    --light-text: #666;
    --background-color: #fff;
    --light-bg: #f8f9fa;
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
}

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

/* Header & Navigation - Updated for industry standards */
header {
    background: var(--background-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-container a {
    display: flex;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-image {
    width: 160px;
    /* height: 40px; */
}

.domain {
    font-size: 0.8rem;
    color: var(--light-text);
}

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

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: var(--transition);
}

.nav-links a:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Hero Section */
#hero {
    padding-top: 80px;
    min-height: 60vh;
    /* background: url('images/Montenegro esimwebp.webp') no-repeat center center/cover; */
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7)), url('images/beautiful-young-students.jpg') no-repeat center center/cover;
    position: relative;
    color: white;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7)); */
    background: linear-gradient(rgb(132 255 177 / 51%), rgb(51 93 56 / 41%));
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    /* -webkit-text-fill-color: transparent; */
    background-clip: text;
    text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Features Section */
#features {
    padding: 5rem 0;
    background: var(--background-color);
}

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

.feature-card {
    padding: 2rem;
    text-align: center;
    background: var(--light-bg);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

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

.feature-icon {
    font-size: 2.5rem;
    /* margin-bottom: 1rem; */
}

/* Highlighted feature card */
.feature-card.highlight {
    border: 2px solid var(--primary-color);
    background-color: rgba(76, 175, 80, 0.05);
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(76, 175, 80, 0.15);
}

.feature-card.highlight .feature-icon {
    color: var(--primary-color);
    font-size: 2.8rem;
}

.feature-card.highlight h3 {
    color: var(--primary-color);
}

/* Products Section */
#products {
    padding: 5rem 0;
    background: var(--light-bg);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

.product-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

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

.product-card.premium {
    border: 2px solid var(--primary-color);
}

.product-card.local {
    border: 2px solid var(--secondary-color);
}

.popular-tag {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.package-header {
    text-align: center;
    margin-bottom: 2rem;
}

.package-header h3 {
    color: var(--text-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.package-main-feature {
    margin: 1.5rem 0;
}

.data-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.data-label {
    font-size: 1.2rem;
    color: var(--light-text);
    margin-left: 0.5rem;
}

.validity {
    color: var(--light-text);
    font-size: 1.1rem;
}

.price-container {
    text-align: center;
    margin: 2rem 0;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    vertical-align: top;
}

.price {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1;
}

.price-period {
    color: var(--light-text);
    font-size: 1.5rem;
}

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

.features-list li {
    /* margin: 1rem 0; */
    color: var(--text-color);
    display: flex;
    align-items: center;
    }

    .feature-icon {
    color: var(--primary-color);
    margin-right: 0.5rem;
    font-weight: bold;
}

.buy-button {
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.buy-button:hover {
    background: #3d8b40;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.2);
}

/* Contact Section */
#contact {
    padding: 5rem 0;
    background: var(--background-color);
}

.contact-wrapper {
    max-width: 600px;
    margin: 3rem auto 0;
}

#contact-form {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 16px;
    transition: border-color 0.3s;
}

#contact-form input:focus,
#contact-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

#contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    width: 100%;
}

.submit-button:hover {
    background-color: #3d8c40;
}

.submit-button:active {
    transform: translateY(1px);
}

.button-icon {
    margin-left: 8px;
    font-size: 18px;
}

/* Form status indicator */
.form-status {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    border-radius: var(--border-radius);
    z-index: 10;
}

.success-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    animation: scaleIn 0.5s ease;
}

.success-icon svg {
    width: 40px;
    height: 40px;
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    70% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.show-status {
    display: flex;
}

/* Footer */
footer {
    background: var(--light-bg);
    padding: 3rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

footer a {
    color: var(--primary-color);
    text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 0.8rem;
    }
    
    nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .data-amount {
        font-size: 2rem;
    }
    
    .price {
        font-size: 3rem;
    }
}

.install-button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.install-button:hover {
    background: #3d8b40;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.2);
}

.install-icon {
    font-size: 1.2rem;
}

/* Language Switcher Styles */
.language-switcher {
    position: relative;
    margin-left: 20px;
    z-index: 1000;
}

.language-button {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    background: var(--background-color);
    border: 1px solid var(--light-text);
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 14px;
    gap: 8px;
    transition: all 0.3s ease;
    pointer-events: auto !important;
    z-index: 1001 !important;
    position: relative;
}



.language-button svg {
    transition: transform 0.3s ease;
}

.language-dropdown.active + .language-button svg,
.language-button[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.language-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--background-color);
    border: 1px solid var(--light-text);
    border-radius: var(--border-radius);
    padding: 8px 0;
    margin-top: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    min-width: 200px;
    max-height: 400px;
    overflow-y: auto;
}

.language-dropdown.active {
    display: block;
}

.region-section {
    padding: 4px 0;
}

.region-title {
    padding: 8px 16px;
    color: var(--light-text);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.language-option {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    cursor: pointer;
    gap: 8px;
}

.language-option:hover {
    background: var(--light-bg);
}

.flag {
    font-size: 16px;
}

.lang-name {
    font-size: 14px;
}

.current-lang-native {
    font-weight: 500;
}

.current-lang-code {
    color: var(--light-text);
    font-size: 12px;
}

/* RTL Support */
[dir="rtl"] .language-dropdown {
    right: auto;
    left: 0;
}

[dir="rtl"] .language-option {
    text-align: right;
}

/* RTL Support for Arabic */
[lang="ar"] {
    direction: rtl;
    text-align: right;
}

[lang="ar"] .nav-links {
    flex-direction: row-reverse;
}

[lang="ar"] .language-dropdown {
    left: 0;
    right: auto;
}

[lang="ar"] .feature-icon {
    margin-right: 0;
    margin-left: 0.5rem;
}

[lang="ar"] .features-list li {
    flex-direction: row-reverse;
}

/* Package Description */
.package-desc {
    font-size: 0.9rem;
    color: var(--light-text);
    margin: 1rem 0;
    padding: 0 1rem;
    text-align: center;
    line-height: 1.4;
}

/* Local Package Tag */
.local-tag {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--secondary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* FAQ Section */
#faq {
    padding: 4rem 0;
    background: var(--background-color);
}

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

.faq-item {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.faq-item p {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* RTL Support for FAQ */
[dir="rtl"] .faq-item {
    text-align: right;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .faq-item {
        background: var(--light-bg);
    }
    
    .faq-item h3 {
        color: var(--accent-color);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-item {
        padding: 1.2rem;
    }
}

/* Mobile Menu - Improved design */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    z-index: 1002;
}

.mobile-menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--text-color);
    border-radius: 2px;
    transition: all 0.25s ease;
}

/* Media queries for responsive design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: none !important;
    }
    
    .mobile-menu-header {
        display: none;
    }
    
    .mobile-menu-pattern {
        display: none;
    }
    
    .logo-container {
        margin: 0 auto;
    }
    
    header {
        padding: 0.8rem 0;
    }
    
    header {
        position: relative;
        box-shadow: none;
    }
    
    #hero {
        padding-top: 0;
    }
    
    nav {
        padding: 0.5rem 0%;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 65%;
        max-width: 300px;
        background-color: var(--background-color);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 70px 20px 30px;
        transition: right 0.3s ease;
        box-shadow: -2px 0 15px rgba(0,0,0,0.1);
        z-index: 1000;
    }
    
    .nav-links.active {
        right: 0;
        display: flex;
        visibility: visible;
        opacity: 1;
    }
    
    .nav-links a {
        width: 100%;
        padding: 12px 15px;
        font-size: 16px;
        border-radius: 0;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        display: block;
    }
    
    .nav-links a:last-child {
        border-bottom: none;
    }
    
    .install-button {
        width: auto;
        margin-top: 15px;
    }
    
    /* Mobile menu toggle animation for open state */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    /* Hero section responsive adjustments */
    .hero-content h1 {
        font-size: 2rem;
    }
    
    /* Product cards responsive adjustments */
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    /* Language switcher positioning for mobile */
    .language-switcher {
        position: static;
        margin: 20px 0 0;
        width: 100%;
    }
    
    .language-button {
        width: 100%;
        justify-content: space-between;
    }
    
    .language-dropdown {
        width: 100%;
        max-height: 300px;
    }
    
    /* General responsive improvements */
    .container {
        padding: 0 1rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .features-grid, .faq-grid {
        gap: 1rem;
        grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
    }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Modern Contact Form Styling */
.contact-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.contact-wrapper {
    max-width: 550px;
    margin: 0 auto;
}

.contact-form {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    margin-top: 30px;
}

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

.form-label {
    position: absolute;
    left: 16px;
    top: 15px;
    display: flex;
    align-items: center;
    color: #4CAF50;
}

.input-icon {
    opacity: 0.7;
}

.textarea-icon {
    top: 10px;
}

.form-input {
    width: 100%;
    padding: 15px 15px 15px 50px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
    color: #333;
    font-family: inherit;
}

.form-input:focus {
    border-color: #4CAF50;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
    outline: none;
}

.form-textarea {
    min-height: 140px;
    resize: vertical;
}

.submit-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, #4CAF50, #2E7D32);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(46, 125, 50, 0.2);
}

.submit-button:hover::before {
    left: 100%;
}

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

.button-text {
    margin-right: 10px;
}

.button-icon {
    transition: transform 0.3s ease;
}

.submit-button:hover .button-icon {
    transform: translateX(4px);
}

/* For smaller screens */
@media (max-width: 576px) {
    .contact-form {
        padding: 30px 20px;
    }
    
    .form-input {
        padding: 14px 14px 14px 45px;
    }
}

/* QR Code Modal Styles */
.qr-modal {
    display: none;
    position: fixed;
    top: 0;
    padding-bottom: 86px;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    overflow: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.qr-modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.qr-modal-content {
    position: relative;
    background-color: #fff;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow: auto;
    padding: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.qr-modal.active .qr-modal-content {
    transform: scale(1);
}

.qr-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
}

.qr-modal-header h3 {
    margin: 0;
    font-size: 20px;
    color: #333;
    font-weight: 600;
}

.qr-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    transition: color 0.2s;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.qr-modal-close:hover {
    color: #333;
    background-color: #f5f5f5;
}

.qr-modal-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qr-code-container {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.qr-code-image {
    width: 200px;
    /* height: 200px; */
    display: block;
}

.qr-instructions {
    text-align: left;
    width: 100%;
}

.qr-instructions p {
    margin-bottom: 15px;
    color: #555;
    font-size: 16px;
    line-height: 1.5;
}

.qr-steps {
    padding-left: 20px;
    margin-bottom: 20px;
}

.qr-steps li {
    margin-bottom: 8px;
    color: #555;
    font-size: 15px;
}

.qr-note {
    display: flex;
    align-items: flex-start;
    background-color: #f8f9fa;
    padding: 12px 15px;
    border-radius: 8px;
    margin-top: 15px;
}

.qr-note svg {
    color: #4CAF50;
    margin-right: 10px;
    flex-shrink: 0;
    margin-top: 2px;
}

.qr-note span {
    font-size: 14px;
    color: #666;
}

/* Enhanced QR Modal Footer Layout */
.qr-modal-footer {
    padding: 24px 32px;
    border-top: 1px solid #e5e7eb;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    align-items: center;
    background: #fafafa;
    min-height: 80px;
}

/* Ensure buttons have consistent sizing */
.qr-download-button,
.qr-buy-button {
    flex: 0 1 auto;
    height: 56px;
    line-height: 1;
    white-space: nowrap;
    /* Ensure minimum touch target size for mobile */
    min-height: 44px;
    /* Prevent text selection on mobile */
    -webkit-tap-highlight-color: transparent;
    /* Improve rendering on high-DPI displays */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Button container for better alignment */
.qr-modal-footer .button-container {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

/* Improved button states for better UX */
.qr-download-button:disabled,
.qr-buy-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.qr-download-button:disabled:hover,
.qr-buy-button:disabled:hover {
    transform: none;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

/* Better touch interaction for mobile */
@media (hover: none) and (pointer: coarse) {
    .qr-download-button:hover,
    .qr-buy-button:hover {
        transform: none;
        box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    }
    
    .qr-download-button:active,
    .qr-buy-button:active {
        transform: scale(0.98);
        box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1);
    }
}

/* Enhanced QR Download Button - Industry Best Practices */
.qr-download-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 16px 28px;
    font-size: 16px;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    min-width: 240px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.qr-download-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.qr-download-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px 0 rgba(16, 185, 129, 0.25), 0 2px 4px 0 rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: white;
    text-decoration: none;
}

.qr-download-button:hover::before {
    left: 100%;
}

.qr-download-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px 0 rgba(16, 185, 129, 0.2);
}

.qr-download-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.3), 0 4px 12px 0 rgba(16, 185, 129, 0.25);
}

.qr-download-button:focus-visible {
    outline: 2px solid #10b981;
    outline-offset: 2px;
}

.qr-download-button svg {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.qr-download-button:hover svg {
    transform: translateY(-1px);
}

.qr-download-button span {
    font-weight: 600;
    letter-spacing: 0.025em;
}

/* Enhanced QR Buy Button - Industry Best Practices */
.qr-buy-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 16px 28px;
    font-size: 16px;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    min-width: 260px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.qr-buy-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.qr-buy-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px 0 rgba(59, 130, 246, 0.25), 0 2px 4px 0 rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    text-decoration: none;
}

.qr-buy-button:hover::before {
    left: 100%;
}

.qr-buy-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px 0 rgba(59, 130, 246, 0.2);
}

.qr-buy-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3), 0 4px 12px 0 rgba(59, 130, 246, 0.25);
}

.qr-buy-button:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

.qr-buy-button svg {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.qr-buy-button:hover svg {
    transform: translateY(-1px);
}

.qr-buy-button span {
    font-weight: 600;
    letter-spacing: 0.025em;
}

/* Loading state for buttons */
.qr-download-button.loading,
.qr-buy-button.loading {
    pointer-events: none;
    opacity: 0.7;
}

.qr-download-button.loading::after,
.qr-buy-button.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    margin: auto;
    border: 2px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 576px) {
    .qr-modal-body {
        padding: 20px 16px;
    }

    .qr-modal-footer {
        flex-direction: column;
        padding: 20px 16px;
        gap: 12px;
    }
    
    .qr-download-button,
    .qr-buy-button {
        min-width: 100%;
        padding: 14px 24px;
        font-size: 15px;
    }
    
    .qr-code-image {
        width: 180px;
    }
    
    .qr-modal-header h3 {
        font-size: 18px;
    }
}

/* Tablet Responsiveness */
@media (min-width: 577px) and (max-width: 768px) {
    .qr-modal-footer {
        padding: 20px 24px;
        gap: 14px;
    }
    
    .qr-download-button,
    .qr-buy-button {
        min-width: 200px;
        padding: 14px 24px;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .qr-download-button,
    .qr-buy-button {
        border: 2px solid currentColor;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .qr-download-button,
    .qr-buy-button {
        transition: none;
    }
    
    .qr-download-button::before,
    .qr-buy-button::before {
        display: none;
    }
    
    .qr-download-button:hover,
    .qr-buy-button:hover {
        transform: none;
    }
}

/* Add this debug style to easily see the menu */
.nav-links.active::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: -1;
}

/* Enhanced Mobile Menu Styling */
@media (max-width: 768px) {
    /* Reset the problematic ::before content that's blocking clicks */
    .nav-links::before {
        content: none;
    }
    
    /* Add a proper header instead of using ::before */
    .nav-links {
        padding-top: 20px; /* Reduced from 80px */
    }
    
    .mobile-menu-header {
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
        font-size: 20px;
        font-weight: 700;
        color: var(--primary-color);
        padding: 10px 0;
    }
    
    /* Fix z-index issues */
    .nav-links {
        z-index: 1005; /* Ensure it's above other elements */
    }
    
    /* Ensure menu items are clickable */
    .nav-links a {
        position: relative;
        z-index: 1006; /* Higher than parent */
        pointer-events: auto; /* Force pointer events */
    }
    
    /* Fix overlay issues */
    body.menu-open::after {
        z-index: 1002; /* Lower than menu but higher than page content */
    }
    
    /* Fix mobile toggle position */
    .mobile-menu-toggle.active {
        position: fixed;
        right: 20px;
        top: 20px;
        z-index: 1007; /* Highest z-index */
    }

    /* Fix the background pattern */
    .mobile-menu-pattern {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h100v100H0z" fill="%234CAF50" opacity="0.03"/></svg>');
        background-size: 20px;
        opacity: 0.5;
        z-index: -1;
        pointer-events: none;
    }
}

/* Modern Bottom Navigation */
.bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 86px;
    background: #ffffff;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.07);
    z-index: 1000;
    border-top: 1px solid rgba(0,0,0,0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

/* Hide bottom nav when scrolling down */
.bottom-nav.hidden {
    transform: translateY(100%);
}

.bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 0 20px 0;
    color: #777;
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
    transform: none;
}

.bottom-nav-item.active {
    color: var(--primary-color);
}

.bottom-nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
}

.bottom-nav-icon {
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
    transition: transform 0.2s ease;
}

.bottom-nav-item:hover .bottom-nav-icon {
    transform: translateY(-2px);
}

.bottom-nav-item svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
}

/* Simplified Install Button - Matching the other navigation items */
.bottom-nav-item.install-btn {
    position: relative;
    color: var(--primary-color);
    font-weight: 600;
}

/* Remove the floating circle and animations */
.bottom-nav-item.install-btn::before {
    content: none;
}

/* Make the icon slightly larger and bolder */
.bottom-nav-item.install-btn svg {
    stroke-width: 2;
    width: 24px;
    height: 24px;
    color: var(--primary-color);
}

/* Add a subtle highlight under the button instead */
.bottom-nav-item.install-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

/* Add a subtle indicator dot above the icon to draw attention */
.bottom-nav-item.install-btn .bottom-nav-icon::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 50%;
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 50%;
    transform: translateX(-50%);
}

/* No text shadow needed now */
.bottom-nav-item.install-btn .bottom-nav-text {
    margin-top: 4px;
    font-weight: 600;
    text-shadow: none;
}

/* Ensure text is positioned consistently */
.bottom-nav-text {
    margin-top: 4px;
    font-size: 12px;
}

/* Add padding to the bottom of the page for the nav bar */
body {
    padding-bottom: 70px !important;
}

/* Enhanced iOS install modal */
.ios-install-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.75);
    overflow: auto;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.ios-modal-content {
    background-color: #ffffff;
    margin: 10% auto;
    padding: 30px;
    border-radius: 16px;
    width: 90%;
    max-width: 420px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    position: relative;
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.ios-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #888;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    z-index: 1;
}

.ios-modal-content h3 {
    color: #333;
    font-size: 22px;
    margin-top: 0;
    margin-bottom: 12px;
    text-align: center;
}

.ios-modal-content p {
    color: #555;
    font-size: 16px;
    margin-bottom: 20px;
    text-align: center;
}

.install-steps {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.install-steps li {
    display: flex;
    margin-bottom: 16px;
    align-items: flex-start;
}

.step-icon {
    background-color: var(--primary-color);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 12px;
    flex-shrink: 0;
}

.step-content {
    color: #444;
    font-size: 15px;
    line-height: 1.4;
    padding-top: 4px;
}

.share-icon {
    vertical-align: middle;
    margin: 0 2px;
    color: #666;
}

.ios-modal-img {
    text-align: center;
    margin: 20px 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
}

.ios-modal-img img {
    max-width: 100%;
    display: block;
    margin: 0 auto;
}

.ios-modal-button {
    background: linear-gradient(to right, #4CAF50, #2E7D32);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 500;
    width: 100%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ios-modal-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.ios-modal-button:active {
    transform: translateY(0);
}

/* For the duplicate h1 at top (outside hero section) */
main > h1 {
    display: none; /* Hide the duplicate h1 since we already show it in the hero section */
}

/* Add a subtle text glow */
.hero-content h1, .hero-content p {
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* Montenegro Weather & Sea Temperature Widgets */
.weather-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.weather-widgets-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
    margin-top: 32px;
    align-items: stretch;
}

.weather-widget,
.sea-temp-widget {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.weather-widget::before,
.sea-temp-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #10b981, #3b82f6);
}

.weather-widget:hover,
.sea-temp-widget:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.widget-header {
    text-align: center;
    margin-bottom: 24px;
}

.widget-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.widget-subtitle {
    color: #64748b;
    font-size: 14px;
    margin: 0;
    font-weight: 500;
}

.weather-location-selector,
.sea-temp-location-selector {
    margin-bottom: 24px;
}

.weather-location-selector label,
.sea-temp-location-selector label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    font-size: 14px;
}

.weather-select,
.sea-temp-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    color: #374151;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.weather-select:focus,
.sea-temp-select:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.weather-data,
.sea-temp-data {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.weather-loading,
.sea-temp-loading {
    text-align: center;
    color: #64748b;
}

.loading-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #e5e7eb;
    border-top: 3px solid #10b981;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 12px;
}

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

.weather-info,
.sea-temp-info {
    text-align: center;
    width: 100%;
}

.weather-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
}

.weather-icon {
    font-size: 48px;
    line-height: 1;
}

.weather-temp {
    font-size: 36px;
    font-weight: 700;
    color: #1e293b;
}

.weather-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 16px;
}

.weather-detail {
    text-align: center;
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
}

.weather-detail-label {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.weather-detail-value {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
}

.sea-temp-main {
    text-align: center;
    margin-bottom: 16px;
}

.sea-temp-value {
    font-size: 48px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.sea-temp-unit {
    font-size: 18px;
    color: #64748b;
    font-weight: 500;
}

.sea-temp-location {
    font-size: 18px;
    color: #374151;
    font-weight: 600;
    margin-bottom: 8px;
}

.sea-temp-time {
    font-size: 14px;
    color: #64748b;
}

.weather-source,
.sea-temp-source {
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
    margin-top: 20px;
}

.weather-source p,
.sea-temp-source p {
    font-size: 12px;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

.weather-source a,
.sea-temp-source a {
    color: #10b981;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.weather-source a:hover,
.sea-temp-source a:hover {
    color: #059669;
    text-decoration: underline;
}

/* Error states */
.weather-error,
.sea-temp-error {
    text-align: center;
    color: #ef4444;
    padding: 20px;
}

.weather-error-icon,
.sea-temp-error-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .weather-widgets-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .weather-widget,
    .sea-temp-widget {
        padding: 24px;
    }
    
    .widget-header h3 {
        font-size: 20px;
    }
    
    .weather-temp,
    .sea-temp-value {
        font-size: 32px;
    }
    
    .weather-details {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .weather-section {
        padding: 60px 0;
    }
    
    .weather-widget,
    .sea-temp-widget {
        padding: 20px;
    }
    
    .weather-main {
        flex-direction: column;
        gap: 12px;
    }
    
    .weather-temp,
    .sea-temp-value {
        font-size: 28px;
    }
}

.sea-temp-widget-container {
    text-align: center;
    padding: 20px;
}

.sea-temp-widget-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sea-temp-widget-image:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.sea-temp-widget-info {
    margin-top: 16px;
}

.sea-temp-widget-note {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

/* Remove the fake sea temperature styling */
.sea-temp-main,
.sea-temp-value,
.sea-temp-unit,
.sea-temp-location,
.sea-temp-time {
    display: none;
}

.sea-temp-widget-error {
    text-align: center;
    color: #ef4444;
    padding: 20px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    margin: 20px 0;
}

.sea-temp-widget-error .sea-temp-error-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.sea-temp-widget-error p {
    margin: 8px 0;
}

.sea-temp-widget-error a {
    color: #10b981;
    text-decoration: none;
    font-weight: 500;
}

.sea-temp-widget-error a:hover {
    text-decoration: underline;
}

.sea-temp-location-selector {
    margin-bottom: 20px;
}

.sea-temp-location-selector label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.sea-temp-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    color: #374151;
    background-color: white;
    transition: all 0.2s ease;
    cursor: pointer;
}

.sea-temp-select:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.sea-temp-select:hover {
    border-color: #d1d5db;
}

.sea-temp-live-data {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 16px;
}

.live-data-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    opacity: 0.9;
}

.live-data-cities {
    font-size: 12px;
    line-height: 1.4;
    opacity: 0.9;
}

.city-temp {
    display: inline-block;
    margin-right: 8px;
    padding: 2px 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    font-weight: 500;
}

.sea-temp-loading {
    text-align: center;
    padding: 20px;
    color: white;
}

.sea-temp-loading .loading-spinner {
    margin: 0 auto 12px;
}

/* Sea Temperature Card Styles */
.sea-temp-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.sea-temp-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.sea-temp-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.live-data-section {
    flex: 1;
}

.sea-temp-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.sea-temp-icon {
    font-size: 32px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.sea-temp-title h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.sea-temp-title p {
    margin: 4px 0 0 0;
    font-size: 14px;
    opacity: 0.9;
    font-weight: 400;
}

.sea-temp-content {
    padding: 24px;
}

.live-data-section h4 {
    margin: 0 0 16px 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.live-data-section h4::before {
    content: "🌡️";
    font-size: 20px;
}

.temperature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.temp-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.temp-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.temp-item .city {
    display: block;
    font-weight: 600;
    color: #495057;
    font-size: 14px;
    margin-bottom: 8px;
}

.temp-item .temp {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #667eea;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.data-info {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 16px;
    border: 1px solid #e9ecef;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    font-size: 14px;
    color: #6c757d;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item .icon {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.sea-temp-footer {
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    padding: 16px 24px;
    text-align: center;
}

.sea-temp-footer p {
    margin: 0;
    font-size: 12px;
    color: #6c757d;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .temperature-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .temp-item {
        padding: 12px;
    }
    
    .temp-item .temp {
        font-size: 20px;
    }
    
    .sea-temp-header {
        padding: 20px;
    }
    
    .sea-temp-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .temperature-grid {
        grid-template-columns: 1fr;
    }
    
    .sea-temp-header {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .sea-temp-icon {
        font-size: 28px;
    }
}

/* Weather Card Styles */
.weather-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.weather-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.weather-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.weather-data {
    margin-bottom: 24px;
    flex: 1;
}

.weather-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.weather-icon {
    font-size: 32px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.weather-title h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.weather-title p {
    margin: 4px 0 0 0;
    font-size: 14px;
    opacity: 0.9;
    font-weight: 400;
}

.weather-content {
    padding: 24px;
}

.location-selector {
    margin-bottom: 20px;
}

.location-selector label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
}

.weather-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    background: white;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.weather-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.weather-data {
    margin-bottom: 24px;
}

.weather-loading {
    text-align: center;
    padding: 20px;
    color: #6c757d;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}

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

/* Weather display styles */
.weather-main {
    text-align: center;
    margin-bottom: 20px;
}

.weather-icon-large {
    font-size: 48px;
    margin-bottom: 8px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.weather-temp {
    font-size: 48px;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 4px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.weather-unit {
    font-size: 16px;
    opacity: 0.9;
    font-weight: 500;
    color: #6c757d;
}

.weather-info {
    margin-bottom: 16px;
}

.weather-location {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #333;
}

.weather-time {
    font-size: 14px;
    opacity: 0.8;
    color: #6c757d;
}

.weather-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.metric-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.metric-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.metric-label {
    display: block;
    font-weight: 600;
    color: #495057;
    font-size: 12px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.metric-value {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #667eea;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.weather-footer {
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    padding: 16px 24px;
    text-align: center;
}

.weather-footer p {
    margin: 0;
    font-size: 12px;
    color: #6c757d;
    font-weight: 500;
}

/* Responsive adjustments for weather card */
@media (max-width: 768px) {
    .weather-metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .metric-item {
        padding: 12px;
    }
    
    .metric-value {
        font-size: 18px;
    }
    
    .weather-header {
        padding: 20px;
    }
    
    .weather-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .weather-metrics {
        grid-template-columns: 1fr;
    }
    
    .weather-header {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .weather-icon {
        font-size: 28px;
    }
}