/* Bali Travel Website CSS */
:root {
    --primary-color: #0077be;
    --secondary-color: #f4a261;
    --accent-color: #e76f51;
    --dark-color: #2a9d8f;
    --light-color: #e9c46a;
    --text-color: #264653;
    --light-bg: #f8f9fa;
    --dark-bg: #343a40;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

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

/* Header Styles */
/* Minimalist Bali Gradient */
header {
    background: linear-gradient(135deg, 
                #264653 0%,     /* Deep Ocean */
                #2A9D8F 35%,    /* Sea Green */
                #E9C46A 70%,    /* Sandy Beach */
                #F4A261 85%,    /* Sunset */
                #E76F51 100%    /* Coral */
            );
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

/* Additional styles for the logo icon */
        .logo {
            display: flex;
            align-items: center;
            text-decoration: none;
            color: inherit;
        font-size: 28px;
    font-weight: bold;
        }
        
        .logo img {
            height: 100px; /* Adjust height as needed */
            margin-right: 10px;
        }
        
        .logo-text {
            display: flex;
            flex-direction: column;
            line-height: 1;
        }




nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 5px 0;
    position: relative;
}

nav ul li a:hover {
    color: var(--secondary-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('images/hero.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 0;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-title p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    color: #666;
}

/* Card Styles */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.card-img {
    height: 200px;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.card-content {
    padding: 20px;
}

.card-content h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.card-content p {
    margin-bottom: 15px;
    color: #666;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #888;
}

.card-meta span {
    display: flex;
    align-items: center;
}

.card-meta i {
    margin-right: 5px;
}

/* Featured Section */
.featured-section {
    background-color: var(--light-bg);
}

.featured-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.featured-content h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.featured-content p {
    font-size: 18px;
    margin-bottom: 25px;
    color: #666;
}

.featured-img {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.featured-img img {
    width: 100%;
    height: auto;
    display: block;
}

/* Info Section */
.info-section {
    background-color: var(--primary-color);
    color: white;
}

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

.info-item {
    text-align: center;
}

.info-item i {
    font-size: 40px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.info-item h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.info-item p {
    font-size: 16px;
}

/* Footer Styles */
footer {
    background-color: var(--dark-bg);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    font-size: 14px;
    color: #aaa;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .featured-container {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    header {
        padding: 15px 0;
    }
    
    nav ul {
        margin-top: 15px;
    }
    
    nav ul li {
        margin: 0 10px;
    }
    
    .hero {
        padding: 70px 0;
    }
    
    .hero h1 {
        font-size: 30px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    section {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px;
    }
    
    .hero h1 {
        font-size: 24px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .card-container {
        grid-template-columns: 1fr;
    }
    
    .info-container {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-20 {
    margin-top: 20px;
}

/* Icon Styles (using Font Awesome or similar) */
.fa {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

.fa-map-marker-alt:before {
    content: "📍";
}

.fa-clock:before {
    content: "🕐";
}

.fa-dollar-sign:before {
    content: "💰";
}

.fa-users:before {
    content: "👥";
}

.fa-utensils:before {
    content: "🍽️";
}

.fa-bed:before {
    content: "🛏️";
}

.fa-water:before {
    content: "🌊";
}

.fa-mountain:before {
    content: "⛰️";
}

.fa-sun:before {
    content: "☀️";
}

.fa-moon:before {
    content: "🌙";
}

.fa-info-circle:before {
    content: "ℹ️";
}

.fa-phone:before {
    content: "📞";
}

.fa-envelope:before {
    content: "✉️";
}

.fa-facebook:before {
    content: "📘";
}

.fa-instagram:before {
    content: "📷";
}

.fa-twitter:before {
    content: "🐦";
}

.fa-youtube:before {
    content: "📺";
}





/* Weather Section Styles -------------------------------------------------*/

.current-time {
    margin-top: 5px;
    font-size: 0.9rem;
    color: white;
}

.current-time i {
    margin-right: 5px;
}


.weather-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.weather-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.current-weather {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    border-radius: 15px;
    color: white;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.current-weather h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 24px;
}

.weather-main {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.weather-icon {
    font-size: 60px;
    margin-right: 20px;
}

.weather-temp {
    font-size: 48px;
    font-weight: bold;
    margin-right: 20px;
}

.weather-desc {
    font-size: 18px;
    text-transform: capitalize;
}

.weather-details {
    display: flex;
    justify-content: space-around;
}

.weather-detail {
    display: flex;
    align-items: center;
    gap: 8px;
}

.forecast-container h3 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.forecast-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
}

.forecast-card {
    background: white;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.forecast-card:hover {
    transform: translateY(-5px);
}

.forecast-day {
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.forecast-icon {
    font-size: 30px;
    margin-bottom: 10px;
}

.forecast-temp {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.temp-high {
    font-weight: bold;
    color: #333;
}

.temp-low {
    color: #777;
}

.forecast-desc {
    font-size: 12px;
    color: #666;
    text-transform: capitalize;
}

.loading {
    opacity: 0.7;
}

/* Weather Section Styles */
.weather-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    position: relative;
    overflow: hidden;
}

.weather-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #3498db, #2ecc71, #f1c40f, #e67e22, #e74c3c);
}

.weather-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.current-weather {
    background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
    border-radius: 20px;
    color: white;
    padding: 30px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.current-weather::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    z-index: 1;
}

.current-weather-content {
    position: relative;
    z-index: 2;
}

.current-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.current-weather h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.current-location {
    display: flex;
    align-items: center;
    gap: 5px;
    opacity: 0.9;
    font-size: 14px;
}

.weather-main {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.weather-icon-container {
    margin-right: 20px;
}

.weather-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.weather-icon i {
    font-size: 40px;
    color: #fff;
}

.weather-temp {
    font-size: 48px;
    font-weight: bold;
    margin-right: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.weather-desc {
    font-size: 18px;
    text-transform: capitalize;
    opacity: 0.9;
}

.weather-details {
    display: flex;
    justify-content: space-around;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 15px;
    backdrop-filter: blur(5px);
}

.weather-detail {
    display: flex;
    align-items: center;
    gap: 8px;
}

.weather-detail i {
    font-size: 18px;
    opacity: 0.8;
}

.forecast-container h3 {
    text-align: center;
    margin-bottom: 25px;
    color: #2c3e50;
    font-size: 24px;
    position: relative;
    padding-bottom: 10px;
}

.forecast-container h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    border-radius: 3px;
}

.forecast-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 15px;
}

.forecast-card {
    background: white;
    border-radius: 15px;
    padding: 20px 15px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.forecast-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.forecast-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.forecast-card:hover::before {
    transform: scaleX(1);
}

.forecast-card.today {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
}

.forecast-day {
    font-weight: 600;
    margin-bottom: 15px;
    color: #2c3e50;
    font-size: 16px;
}

.today .forecast-day {
    color: white;
}

.forecast-icon {
    margin: 15px 0;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.forecast-icon i {
    font-size: 32px;
    color: #f39c12;
}

.today .forecast-icon i {
    color: #f1c40f;
}

.forecast-temp {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 15px 0;
}

.temp-high {
    font-weight: bold;
    font-size: 18px;
    color: #2c3e50;
}

.temp-low {
    color: #7f8c8d;
    font-size: 16px;
}

.today .temp-high,
.today .temp-low {
    color: white;
}

.forecast-desc {
    font-size: 13px;
    color: #7f8c8d;
    text-transform: capitalize;
    margin-top: 10px;
}

.today .forecast-desc {
    color: rgba(255, 255, 255, 0.9);
}

.loading {
    opacity: 0.7;
}

@media (max-width: 768px) {
    .weather-main {
        flex-direction: column;
        text-align: center;
    }
    
    .weather-icon-container {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .weather-temp {
        margin-right: 0;
    }
    
    .weather-details {
        flex-direction: column;
        gap: 10px;
    }
    
    .forecast-cards {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 10px;
    }
    
    .forecast-card {
        padding: 15px 10px;
    }
    
    .forecast-day {
        font-size: 14px;
    }
    
    .temp-high {
        font-size: 16px;
    }
    
    .temp-low {
        font-size: 14px;
    }
}


/* Weather Section Collapsible Styles */
.weather-header {
    background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
    border-radius: 10px;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.weather-header:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.weather-header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.weather-header h2 {
    margin: 0;
    font-size: 24px;
}

.weather-summary {
    font-size: 16px;
    opacity: 0.9;
}

.weather-toggle {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.weather-content {
    transition: max-height 0.5s ease-out;
    margin-top: 15px;
}

.weather-loading {
    display: flex;
    justify-content: center;
    padding: 20px;
}

.weather-loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(52, 152, 219, 0.3);
    border-radius: 50%;
    border-top-color: #3498db;
    animation: spin 1s ease-in-out infinite;
}

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

/* Adjust the existing weather section styles */
.weather-section {
    padding: 40px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    position: relative;
    overflow: hidden;
}

.weather-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #3498db, #2ecc71, #f1c40f, #e67e22, #e74c3c);
}



/* Currency Info in Footer */
.currency-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Align to top */
    padding: 15px 0;
    border-top: 1px solid #444;
    margin-top: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.currency-display {
    flex-grow: 1; /* Allow it to take up space */
}

#currency-rates-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px; /* Space between rate items */
    margin-bottom: 10px;
}

.currency-rate-item {
    font-size: 0.9rem;
    color: #fff;
    background-color: #555;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.currency-rate-item:hover {
    background-color: #666;
}

#rate-updated-time {
    display: block;
    margin-top: 5px;
    font-size: 0.8rem;
    color: #aaa;
}

#refresh-rates-btn {
    padding: 8px 15px;
    font-size: 0.9rem;
    white-space: nowrap;
    align-self: center; /* Center button vertically */
}

/* Responsive for smaller screens */
@media (max-width: 768px) {
    #currency-rates-list {
        justify-content: left;
    }
    .currency-rate-item {
        font-size: 0.8rem;
    }
}


/* Live Webcam Section Styles */
.webcam-section {
    padding: 40px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    position: relative;
}

.webcam-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #e74c3c, #e67e22, #f39c12);
}

/* Collapsible Header Styles */
.webcam-header {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    border-radius: 10px;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.webcam-header:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.webcam-header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.webcam-header h2 {
    margin: 0;
    font-size: 24px;
}

.webcam-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    opacity: 0.9;
}

.webcam-toggle {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.webcam-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
    margin-top: 15px;
}

.webcam-content.expanded {
    max-height: 1000px;
    transition: max-height 0.5s ease-in;
}

/* Expanded Content Styles */
.webcam-container {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.webcam-controls-bar {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.webcam-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 500;
}

.webcam-info i {
    font-size: 18px;
}

.live-indicator {
    background-color: #27ae60;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

.webcam-controls {
    display: flex;
    gap: 10px;
}

.webcam-control-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.webcam-control-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.webcam-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: #000;
}

.webcam-iframe-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.webcam-iframe-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Fullscreen mode */
.webcam-wrapper.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    padding-bottom: 0;
    background: rgba(0, 0, 0, 0.95);
}

.webcam-wrapper.fullscreen .webcam-iframe-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    max-width: 1200px;
    max-height: 675px;
}

.webcam-wrapper.fullscreen .close-fullscreen {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    z-index: 10000;
    transition: all 0.3s ease;
}

.webcam-wrapper.fullscreen .close-fullscreen:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .webcam-section {
        padding: 30px 0;
    }
    
    .webcam-header h2 {
        font-size: 20px;
    }
    
    .webcam-summary {
        font-size: 14px;
    }
    
    .webcam-info {
        font-size: 14px;
    }
    
    .webcam-control-btn {
        width: 32px;
        height: 32px;
    }
}

/* Contact Form Styles */
.contact-form-container {
    margin-top: 15px;
}

.contact-form-container .form-group {
    margin-bottom: 10px;
}

.contact-form-container input,
.contact-form-container textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
}

.contact-form-container textarea {
    resize: vertical;
    min-height: 80px;
}

.contact-form-container .btn {
    padding: 8px 15px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.contact-form-container .btn:hover {
    background-color: #45a049;
}

.contact-form-container .btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.form-message {
    margin-top: 10px;
    padding: 8px;
    border-radius: 4px;
    font-size: 14px;
}

.form-message.success {
    background-color: #dff0d8;
    color: #3c763d;
    border: 1px solid #d6e9c6;
}

.form-message.error {
    background-color: #f2dede;
    color: #a94442;
    border: 1px solid #ebccd1;
}