:root {
    --primary: #d4af37;
    /* Antique Gold */
    --bg-dark: #0a0a0a;
    --bg-mahogany: #1a120b;
    --text-light: #fdfcf0;
    --text-dim: #bdae93;
    --serif: 'Playfair Display', serif;
    --sans: 'Montserrat', sans-serif;
    --transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--sans);
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3 {
    font-family: var(--serif);
    font-weight: 700;
    letter-spacing: 1px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

a:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    /* Assicurati che il testo sia sopra l'ombra */
    text-shadow: 0 0 15px rgba(0, 0, 0, 1), 0 0 30px rgba(0, 0, 0, 0.9);
    /* Ombra testo leggermente più forte */
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
    /* Ombra esterna più visibile */
    transition: all 0.4s ease;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover {
    color: var(--bg-dark);
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.7), 0 0 70px rgba(212, 175, 55, 0.5);
    /* Ombra esterna più intensa al hover */
    transform: scale(1.05);
}

.btn:hover::before {
    left: 0;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

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

/* Header & Nav */
.hero-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    width: 100%;
}

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

.hero-nav ul li {
    margin: 0 20px;
}

.logo {
    font-family: var(--serif);
    font-size: 1.5rem;
    letter-spacing: 4px;
    color: var(--primary);
}

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

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

nav ul li a {
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.7;
    /* Manteniamo l'opacità per lo stile sottile, ma con ombra più forte */
    text-shadow: 0 0 18px rgba(0, 0, 0, 1), 0 0 30px rgba(0, 0, 0, 1);
    /* Ombra testo più definita e scura */
    transition: all 0.4s ease;
    position: relative;
    animation: navPulse 2.5s ease-in-out infinite;
}

.hero-nav ul li a:hover {
    opacity: 1;
    color: var(--primary);
    animation: none;
    text-shadow: 0 0 25px var(--primary), 0 0 35px rgba(0, 0, 0, 1), 0 0 60px rgba(212, 175, 55, 0.5);
    /* Ombra più luminosa e definita al hover, con maggiore contrasto */
    transform: scale(1.05);
}

@keyframes navPulse {

    0%,
    100% {
        opacity: 0.7;
        transform: scale(1);
    }

    50% {
        opacity: 0.9;
        transform: scale(1.02);
    }
}

/* Hero Section */
#hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background: radial-gradient(circle at center, #1a1a1a 0%, #0a0a0a 100%);
    overflow: hidden;
}

.clock-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.main-clock {
    width: 500px;
    /* Ridotto da 600px per desktop */
    height: 500px;
    /* Ridotto da 600px per desktop */
    background: url('clock_face.png');
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    position: absolute;
    opacity: 0.6;
    pointer-events: none;
    box-shadow:
        0 0 100px rgba(212, 175, 55, 0.4),
        inset 0 0 50px rgba(0, 0, 0, 0.8);
    border: 15px solid #1a120b;
    will-change: transform, opacity;
    backface-visibility: hidden;
    outline: 2px solid var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
}

.clock-markers {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.marker {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    background: var(--primary);
}

.clock-numerals {
    position: absolute;
    width: 100%;
    height: 100%;
    color: var(--primary);
    pointer-events: none;
}

.clock-numerals span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hand {
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform-origin: bottom center;
    will-change: transform;
    background: var(--primary);
}

.hour {
    width: 6px;
    height: 120px;
    z-index: 3;
}

.minute {
    width: 4px;
    height: 180px;
    z-index: 2;
}

.second {
    width: 2px;
    height: 210px;
    background: #ff4d4d;
    z-index: 1;
}

.center-dot {
    width: 16px;
    height: 16px;
    background: var(--primary);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.numerals {
    position: absolute;
    width: 100%;
    height: 100%;
    font-family: var(--serif);
    font-size: 1.5rem;
}

.numerals span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#services,
#appointments {
    content-visibility: auto;
    contain-intrinsic-size: 1px 500px;
}

.hero-content {
    position: relative;
    text-align: center;
    z-index: 10;
    width: 100%;
    max-width: 900px;
    height: 500px;
    /* Adattato alla nuova altezza dell'orologio */
    /* Match clock height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
}

.site-logo {
    position: fixed;
    top: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 20;
}

.site-logo img {
    width: 46px;
    height: auto;
    object-fit: contain;
    border: none;
    box-shadow: none;
}

.site-logo span {
    font-family: var(--serif);
    font-size: 1rem;
    letter-spacing: 1px;
    color: var(--primary);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 0, 0, 0.7);
    /* Ombra più pronunciata per il logo */
}

.hero-content h1 {
    font-size: 5rem;
    background: linear-gradient(to bottom, #fdfcf0, #d4af37);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 8px;
    margin-bottom: 0;
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 40px rgba(0, 0, 0, 0.6));
}

.hero-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.4);
    padding: 20px 30px;
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

.hero-subtitle {
    font-size: 1rem;
    margin: 12px auto 0;
    color: var(--text-light);
    opacity: 0.95;
    letter-spacing: 0.5px;
    max-width: 640px;
    text-shadow: 0 0 12px rgba(0, 0, 0, 0.75);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 0;
    color: #fdfcf0;
    max-width: 600px;
    text-shadow: 0 0 20px rgba(0, 0, 0, 1), 0 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: 500;
}

/* Services Section - Victorian Cabinet */
#services {
    padding: 120px 10%;
    background: #0d0905;
    position: relative;
    overflow: hidden;
}

.section-title {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 100px;
    color: var(--primary);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.cabinet {
    position: relative;
    width: 100%;
    min-height: 700px;
    background: #1a120b;
    border: 20px solid #0a0704;
    box-shadow:
        inset 0 0 150px rgba(0, 0, 0, 0.9),
        0 50px 100px rgba(0, 0, 0, 0.7),
        0 0 0 5px #1a120b;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 2500px;
}

.cabinet-door {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background: url('mahogany.png');
    background-size: cover;
    z-index: 20;
    will-change: transform;
    backface-visibility: hidden;
    transition: transform 2s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow:
        inset 0 0 50px rgba(0, 0, 0, 0.5),
        5px 0 15px rgba(0, 0, 0, 0.8);
    border: 4px solid #0a0704;
}

/* Realistic Details */
.cabinet-door::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    right: 10%;
    bottom: 10%;
    border: 2px solid rgba(0, 0, 0, 0.3);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5), 0 0 10px rgba(212, 175, 55, 0.1);
    pointer-events: none;
}

.hinge {
    position: absolute;
    width: 10px;
    height: 40px;
    background: linear-gradient(to right, #8a6d1e, #d4af37, #8a6d1e);
    border-radius: 2px;
    z-index: 25;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.cabinet-door.left .hinge {
    left: -5px;
}

.cabinet-door.right .hinge {
    right: -5px;
}

.hinge.top {
    top: 50px;
}

.hinge.bottom {
    bottom: 50px;
}

.keyhole {
    position: absolute;
    top: 50%;
    width: 15px;
    height: 25px;
    background: #000;
    border-radius: 50% 50% 10% 10%;
    z-index: 25;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.cabinet-door.left .keyhole {
    right: 20px;
}

.cabinet-door.right .keyhole {
    left: 20px;
}

.cabinet-door.left {
    left: 0;
    transform-origin: left;
}

.cabinet-door.right {
    right: 0;
    transform-origin: right;
}

.cabinet:hover .cabinet-door.left {
    transform: rotateY(-120deg);
}

.cabinet:hover .cabinet-door.right {
    transform: rotateY(120deg);
}

.cabinet-interior {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 40px;
    background: radial-gradient(circle, #2a1b0e 0%, #0d0905 100%);
    position: relative;
    z-index: 10;
}

.drawer {
    flex: 1;
    background: #3a2614;
    height: 400px;
    max-width: 320px;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
}

.drawer-front {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: var(--serif);
    font-size: 1.6rem;
    color: var(--primary);
    background: #2a1b0e;
    z-index: 5;
    transition: var(--transition);
    border: 8px solid #1a120b;
}

.drawer-front::after {
    content: '';
    width: 60px;
    height: 10px;
    background: linear-gradient(to right, #8a6d1e, #d4af37, #8a6d1e);
    border-radius: 5px;
    position: absolute;
    bottom: 50px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.drawer:hover .drawer-front {
    transform: translateY(-72%);
}

.drawer-content {
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* Push to bottom */
    align-items: center;
    height: 100%;
    opacity: 1;
    transition: var(--transition);
    gap: 15px;
}

.drawer-content p {
    font-size: 1rem;
    color: #fff;
    /* Pure white for better contrast */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    /* Shadow for readability against wood */
    line-height: 1.4;
}

/* Appointments - Workbench */
#appointments {
    padding: 120px 10%;
    background: #0a0704;
    position: relative;
}

.workbench {
    background: url('workbench.png');
    background-size: cover;
    background-position: center;
    border-radius: 5px;
    padding: 100px 60px;
    position: relative;
    box-shadow:
        0 50px 100px rgba(0, 0, 0, 0.8),
        inset 0 0 0 10px #0a0704,
        inset 0 0 0 12px var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    border: 15px solid #1a120b;
    /* The outer frame */
}

.workbench::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.parchment-form {
    background: #fdfcf0;
    padding: 50px;
    width: 100%;
    max-width: 550px;
    color: #333;
    box-shadow: 15px 15px 40px rgba(0, 0, 0, 0.6);
    position: relative;
    transform: rotate(-1.5deg);
    border-radius: 2px;
}

.parchment-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/parchment.png');
    pointer-events: none;
    opacity: 0.8;
}

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

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: #4a311b;
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: none;
    border-bottom: 2px solid #d4af37;
    background: rgba(255, 255, 255, 0.6);
    font-family: inherit;
    font-size: 1rem;
    color: #1a120b;
}

.form-group input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.9);
}

.parchment-form .btn {
    width: 100%;
    border-color: #4a311b;
    color: #4a311b;
    margin-top: 20px;
}

.parchment-form .btn:hover {
    color: #fdfcf0;
    background: #4a311b;
}

/* Footer Improvements */
#footer {
    padding: 120px 10% 40px;
    background: #050403;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.footer-logo {
    font-size: 2.2rem;
}

.footer-info p {
    color: var(--text-dim);
    margin-bottom: 10px;
}

.footer-socials a {
    margin-left: 20px;
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-bottom {
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.4;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
}

/* Modal Popups */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
}

.modal-content {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('mahogany.png');
    background-size: cover;
    width: 90%;
    max-width: 600px;
    padding: 50px;
    border: 8px solid #0a0704;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 20px rgba(212, 175, 55, 0.15);
    position: relative;
    color: var(--text-light);
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

.modal-overlay.active {
    display: flex;
}

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

.modal-close {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 2.5rem;
    color: var(--primary);
    cursor: pointer;
    line-height: 1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    height: auto;
    padding: 0;
    border: none;
    background: none;
    box-shadow: none;
}

.modal-close:hover {
    transform: rotate(90deg) scale(1.1);
    color: #fff;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.6));
}

.modal-close:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
    border-radius: 2px;
}

.modal-body h2 {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 10px;
}

.modal-body p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.drawer-btn {
    margin-top: 20px;
    padding: 8px 20px;
    background: var(--primary);
    color: #000;
    border: none;
    font-family: var(--sans);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.drawer-btn:hover {
    background: #fff;
}

/* ========== RESPONSIVE DESIGN ========== */

/* Tablet - 768px and below */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
        letter-spacing: 4px;
    }

    .hero-content p {
        font-size: 1rem;
        max-width: 100%;
    }

    .hero-nav ul li {
        margin: 0 12px;
    }

    .hero-nav ul li a {
        font-size: 0.75rem;
    }

    .section-title {
        font-size: 2.5rem;
        margin-bottom: 60px;
    }

    #services {
        padding: 80px 5%;
    }

    #appointments {
        padding: 80px 5%;
    }

    .cabinet {
        min-height: 500px;
        border: 10px solid #0a0704;
    }

    .cabinet-interior {
        gap: 15px;
        padding: 20px;
        flex-wrap: wrap;
    }

    .drawer {
        height: 300px;
        max-width: 100%;
        flex: 1 1 calc(50% - 8px);
    }

    .drawer-front {
        font-size: 1.2rem;
        border: 4px solid #1a120b;
    }

    .drawer-content p {
        font-size: 0.9rem;
    }

    .main-clock {
        width: 400px;
        height: 400px;
        border: 10px solid #1a120b;
    }

    .hero-content {
        height: 400px;
        padding: 20px 0;
    }

    .site-logo {
        top: 16px;
        left: 16px;
    }

    .site-logo img {
        width: 40px;
        height: auto;
        object-fit: contain;
    }

    .site-logo span {
        font-size: 0.9rem;
    }

    .clock-numerals {
        font-size: 1.2rem;
    }

    .parchment-form {
        padding: 30px;
        max-width: 100%;
        transform: rotate(-0.5deg);
    }

    .workbench {
        padding: 60px 30px;
        border: 10px solid #1a120b;
    }

    .form-group input {
        padding: 12px;
        font-size: 16px;
        /* Prevents zoom on iOS */
    }

    .form-group label {
        font-size: 0.75rem;
    }

    #footer {
        padding: 60px 5% 30px;
    }

    .footer-socials a {
        margin-left: 10px;
        font-size: 0.85rem;
    }
}

/* Mobile - 480px and below */
@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    .hero-content h1 {
        font-size: 2rem;
        letter-spacing: 2px;
        filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 20px rgba(0, 0, 0, 0.6));
    }

    .site-logo {
        top: 12px;
        left: 12px;
    }

    .site-logo img {
        width: 34px;
        height: auto;
        object-fit: contain;
    }

    .site-logo span {
        font-size: 0.85rem;
    }

    .hero-content p {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .hero-nav {
        padding: 15px 0;
    }

    .hero-nav ul {
        flex-wrap: wrap;
        gap: 10px;
    }

    .hero-nav ul li {
        margin: 5px;
    }

    .hero-nav ul li a {
        font-size: 0.7rem;
        letter-spacing: 0.5px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.7rem;
        letter-spacing: 1px;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }

    #services {
        padding: 60px 3%;
    }

    #appointments {
        padding: 60px 3%;
    }

    .cabinet {
        min-height: 400px;
        border: 5px solid #0a0704;
        box-shadow:
            inset 0 0 100px rgba(0, 0, 0, 0.9),
            0 30px 60px rgba(0, 0, 0, 0.7),
            0 0 0 5px #1a120b;
    }

    .cabinet-interior {
        gap: 10px;
        padding: 15px;
    }

    .drawer {
        height: 250px;
        flex: 1 1 100%;
        max-width: 100%;
    }

    .drawer-front {
        font-size: 1rem;
        border: 2px solid #1a120b;
    }

    .drawer-front::after {
        display: none;
    }

    .drawer-content p {
        font-size: 0.85rem;
        line-height: 1.3;
    }

    .drawer-btn {
        padding: 6px 15px;
        font-size: 0.75rem;
    }

    .main-clock {
        width: 300px;
        height: 300px;
        border: 8px solid #1a120b;
        box-shadow:
            0 0 60px rgba(212, 175, 55, 0.3),
            inset 0 0 40px rgba(0, 0, 0, 0.8);
    }

    .hero-content {
        height: 300px;
        max-width: 95%;
        padding: 15px 0;
    }

    .clock-numerals {
        font-size: 1rem;
    }

    .hour {
        width: 4px;
        height: 80px;
    }

    .minute {
        width: 3px;
        height: 120px;
    }

    .second {
        width: 1.5px;
        height: 140px;
    }

    .center-dot {
        width: 12px;
        height: 12px;
    }

    .parchment-form {
        padding: 20px;
        transform: rotate(0deg);
    }

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

    .form-group label {
        font-size: 0.7rem;
        margin-bottom: 8px;
    }

    .form-group input {
        padding: 10px;
        font-size: 16px;
        border-width: 1px;
    }

    .workbench {
        padding: 40px 15px;
        border: 5px solid #1a120b;
        box-shadow:
            0 30px 60px rgba(0, 0, 0, 0.8),
            inset 0 0 0 5px #0a0704,
            inset 0 0 0 7px var(--primary);
    }

    .workbench::before {
        background: rgba(0, 0, 0, 0.5);
    }

    .tool {
        display: none;
    }

    .parchment-form .btn {
        padding: 10px 15px;
        font-size: 0.7rem;
        margin-top: 15px;
    }

    .modal-content {
        width: 95%;
        padding: 30px 20px;
        border: 4px solid #0a0704;
    }

    .modal-close {
        top: 15px;
        right: 15px;
        font-size: 2rem;
        width: auto;
        height: auto;
    }

    .modal-body h2 {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }

    .modal-body p {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .footer-content {
        text-align: center;
    }

    .footer-logo {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .footer-info p {
        font-size: 0.85rem;
        margin-bottom: 8px;
    }

    .footer-socials {
        margin-top: 15px;
    }

    .footer-socials a {
        display: inline-block;
        margin: 0 8px;
        font-size: 0.8rem;
    }

    .footer-bottom {
        font-size: 0.7rem;
        padding-top: 20px;
    }
}

/* Ultra small - 320px and below */
@media (max-width: 320px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }

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

    .main-clock {
        width: 250px;
        height: 250px;
    }

    .hero-content {
        height: 250px;
    }
}