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

/* Background Image - First Priority */
body {
    background-image: url('./images/hero-image.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    font-family: 'Cairo', sans-serif;
    direction: rtl;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Colors */
:root {
    --primary: #FF912F;
    --secondary: #546D7E;
    --white: #FFFFFF;
    --overlay: rgba(255, 255, 255, 0.75);
}

/* Container */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Right-aligned container for content sections */
.container-right {
    max-width: 1000px;
    margin: 0 0 0 auto;
    padding: 0 20px;
}

/* Main content containers positioned in white space area */
@media (min-width: 1024px) {
    .container-right {
        margin-left: 45vw;
        margin-right: 5vw;
        max-width: calc(50vw - 40px);
    }
}

@media (min-width: 1400px) {
    .container-right {
        margin-left: 42vw;
        margin-right: 8vw;
        max-width: calc(50vw - 40px);
    }
}

@media (min-width: 1920px) {
    .container-right {
        margin-left: 40vw;
        margin-right: 10vw;
        max-width: calc(50vw - 40px);
    }
}

/* Header */
.header {
    background: #F8A762;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header .logo-image {
    width: 70px !important;
    height: 70px !important;
    object-fit: contain;
    display: block;
    background: transparent;
    border-radius: 0;
    padding: 0;
}

.logo-text h1 {
    color: var(--primary);
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.logo-text p {
    color: var(--secondary);
    font-size: 0.9rem;
    margin: 0;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 1rem;
    flex-wrap: nowrap;
    max-width: 80%;
}

.nav a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.3rem 0.8rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    white-space: nowrap;
}

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

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #F8A762;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border-radius: 8px;
    padding: 0.2rem 0;
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.4rem 1.5rem;
    color: var(--secondary);
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: 0;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-align: right;
}

.dropdown-menu a:hover {
    background: var(--primary);
    color: var(--white);
}

/* More Menu (3 dots) */
.more-menu .more-dots {
    font-size: 1.2rem;
    font-weight: bold;
    padding: 0.4rem;
    line-height: 1;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--secondary);
    transition: all 0.3s ease;
}

.more-menu .more-dots:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.more-menu .dropdown-menu {
    min-width: 200px;
}

/* Radio Player */
.player {
    padding: 3rem 0;
}

.player-title {
    text-align: center;
    color: var(--secondary);
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.player-container {
    background: linear-gradient(135deg, #FF912F 0%, #e6822a 100%);
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(255, 145, 47, 0.3);
    width: 100%;
    max-width: 300px;
    border: 1px solid #e6822a;
    position: relative;
    margin: 0 auto;
}

.player-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 10px;
    flex-direction: row-reverse;
}

.play-button {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #FCF5E3 0%, #f5efd6 100%);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(252, 245, 227, 0.5);
    flex-shrink: 0;
    position: relative;
}

.play-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(252, 245, 227, 0.7);
}

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

.play-icon, .pause-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-icon {
    width: 0;
    height: 0;
    border-left: 12px solid #FF912F;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    margin-left: 3px;
}

.pause-icon {
    display: none;
    width: 16px;
    height: 16px;
    background: #FF912F;
    border-radius: 2px;
}

.station-info {
    flex: 1;
    min-width: 0;
    margin: 0 8px;
}

.station-name {
    color: #FCF5E3;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #FCF5E3;
    font-size: 11px;
}

.live-dot {
    width: 6px;
    height: 6px;
    background: #FCF5E3;
    border-radius: 50%;
    animation: pulse 2s infinite;
    flex-shrink: 0;
}

@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
    100% { opacity: 1; transform: scale(1); }
}

.player-container .logo {
    width: 35px;
    height: 35px;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: -10px;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: white;
    border-radius: 6px;
}

.controls {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
}

.progress-container {
    flex: 1;
    height: 4px;
    background: rgba(252, 245, 227, 0.3);
    border-radius: 2px;
    position: relative;
    cursor: pointer;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #FCF5E3 0%, #f5efd6 100%);
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s ease;
}

.progress-thumb {
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: #FCF5E3;
    border-radius: 50%;
    cursor: grab;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.progress-container:hover .progress-thumb {
    opacity: 1;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 4px;
}

.volume-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 3px;
}

.volume-icon {
    width: 12px;
    height: 12px;
    fill: #FCF5E3;
    transition: fill 0.3s ease;
}

.volume-button:hover .volume-icon {
    fill: #ffffff;
}

.volume-slider {
    width: 40px;
    height: 3px;
    background: rgba(252, 245, 227, 0.3);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 8px;
    height: 8px;
    background: #FCF5E3;
    border-radius: 50%;
    cursor: pointer;
}

.volume-slider::-moz-range-thumb {
    width: 8px;
    height: 8px;
    background: #FCF5E3;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.time-display {
    color: #FCF5E3;
    font-size: 10px;
    font-family: monospace;
    min-width: 35px;
    text-align: right;
}

.loading {
    display: none;
    color: #FCF5E3;
    font-size: 10px;
    text-align: center;
    margin-top: 5px;
}

.loading.show {
    display: block;
}

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

.loading::before {
    content: "⟳ ";
    display: inline-block;
    animation: spin 1s linear infinite;
}

/* Schedule Section */
.schedule {
    padding: 4rem 0;
    flex: 1;
}

.schedule h2 {
    text-align: center;
    color: var(--secondary);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 700;
}

/* Program Grid Layout */
.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

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

.program-card {
    animation: fadeInUp 0.6s ease-out forwards;
}

.program-card:nth-child(1) { animation-delay: 0.1s; }
.program-card:nth-child(2) { animation-delay: 0.2s; }
.program-card:nth-child(3) { animation-delay: 0.3s; }
.program-card:nth-child(4) { animation-delay: 0.4s; }
.program-card:nth-child(5) { animation-delay: 0.5s; }
.program-card:nth-child(6) { animation-delay: 0.6s; }

.program-card {
    background: var(--overlay);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid transparent;
    position: relative;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 145, 47, 0.1), rgba(10, 51, 61, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.program-card:hover::before {
    opacity: 1;
}

.program-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0,0,0,0.25);
    border-color: rgba(255, 145, 47, 0.3);
}

.program-card.current {
    border-color: var(--primary);
    background: rgba(255, 145, 47, 0.05);
}

.program-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: brightness(0.9) contrast(1.1);
}

.program-card:hover .program-image img {
    transform: scale(1.08) rotate(1deg);
    filter: brightness(1) contrast(1.2) saturate(1.1);
}

.live-indicator {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 68, 68, 0.9);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    backdrop-filter: blur(10px);
}

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

.program-content h3 {
    color: var(--secondary);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.4;
    transition: all 0.3s ease;
    position: relative;
}

.program-card:hover .program-content h3 {
    color: var(--primary);
    transform: translateY(-2px);
}

.program-time {
    background: linear-gradient(135deg, var(--primary), #FF7A2F);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 145, 47, 0.3);
}

.program-card:hover .program-time {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 145, 47, 0.4);
}

.program-days {
    color: var(--secondary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.program-host {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
    font-style: italic;
}

/* Footer */
.footer {
    background: transparent;
    color: var(--white);
    padding: 2rem 0 1rem;
    margin-top: 2rem;
    border-top: 2px solid var(--secondary);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--secondary), transparent);
    opacity: 0.6;
}


.footer-section h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.footer-section h4 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.footer-section p {
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer-section i {
    color: white;
    margin-left: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-dot {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px;
}

.social-dot img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.social-dot.instagram {
    background: var(--primary);
}

.social-dot.facebook {
    background: var(--primary);
}

.social-dot.threads {
    background: var(--primary);
}

.footer-squares {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.footer-square {
    background: #546D7E;
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid transparent;
    padding: 2rem;
    color: white;
    position: relative;
}

.footer-square::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary), #FF7043);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.footer-square:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 145, 47, 0.3);
    border-color: var(--primary);
}

.footer-square:hover::before {
    opacity: 0.1;
}

.footer-square h4 {
    color: var(--primary);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-square p {
    font-size: 0.9rem;
    line-height: 1.8;
    margin: 0.5rem 0;
    opacity: 0.9;
}

.footer-square p:has(i) {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: 0.6rem 0;
    flex-direction: row-reverse;
    justify-content: flex-start;
    text-align: right;
}

.footer-square p i {
    flex-shrink: 0;
    font-size: 1.1rem;
    color: white;
    width: 20px;
    display: inline-flex;
    justify-content: center;
}

.social-dot.tiktok {
    background: var(--primary);
}

.social-dot.tiktok {
    background: var(--primary);
}

.social-dot.youtube {
    background: var(--primary);
}

.social-dot:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.footer-bottom {
    text-align: center;
    padding: 1rem 0;
    background: transparent;
    margin-top: 2rem;
    width: 100%;
    color: var(--secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .player-box {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .program-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .program-card {
        margin-bottom: 1rem;
    }
    
    .footer-squares {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Mobile specific styles */
@media (max-width: 768px) {
    body {
        background-image: url('./images/bgm.png');
        background-attachment: fixed;
        background-position: top center;
        background-repeat: no-repeat;
        background-size: 100% auto;
    }

    /* Create extended decorative area */
    body::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 20vh;
        background: linear-gradient(135deg, #FF912F, #546D7E, #FF7043);
        background-image: url('./images/bgm.png');
        background-size: 100% auto;
        background-position: top center;
        background-repeat: repeat-y;
        z-index: -1;
    }

    /* Position header at top of white space */
    .header {
        position: absolute !important;
        top: 10vh !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 100;
        padding: 1rem 0;
        background: var(--overlay);
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        height: auto;
        display: block;
        border-radius: 20px 20px 0 0;
        margin: 0 20px;
        transform: translateY(0) !important;
    }

    /* Position logo on far left, menu on far right */
    .header .container {
        width: 100% !important;
        max-width: none !important;
        padding: 0 20px !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        margin: 0 !important;
    }

    .header .logo {
        margin-left: 0;
    }

    .header .nav {
        margin-right: 0;
    }

    /* Header content in white space */
    .header .logo-image {
        filter: none;
    }

    .header .nav a {
        text-shadow: none;
        color: var(--secondary);
        font-weight: 500;
    }

    /* Position content below header in white space */
    .container-right {
        margin-top: 25vh;
        margin-left: 0;
        margin-right: 0;
        max-width: none;
        padding: 0 20px 20px 20px;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 0 0 0 0;
        min-height: calc(100vh - 25vh);
    }

    /* Minimize spacing for mobile */
    .player {
        padding: 0 !important;
        margin-top: 0;
        margin-bottom: 0;
    }

    /* Only apply negative margin on home page with player */
    .player + .schedule {
        margin-top: -32rem;
        padding-top: 0;
    }

    /* Normal spacing for other pages */
    .schedule {
        margin-top: 0;
        padding-top: 0;
    }

    .schedule h2 {
        margin-top: 0;
        margin-bottom: 0.2rem;
        font-size: 1.8rem;
        padding-top: 0;
        line-height: 1.2;
    }

    .player-title {
        margin-top: 0;
        margin-bottom: 2.5rem;
        padding-top: 0;
        font-size: 1.5rem;
        line-height: 1.2;
    }

    .player-container {
        margin-top: 0;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .player section {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    /* Ensure content sections have proper spacing */
    .player, .schedule, .footer {
        background: transparent;
    }

    .container {
        padding: 0 15px;
    }

    /* Remove orange background from header and make it non-sticky */
    .header {
        background: transparent;
        box-shadow: none;
        position: static;
    }

    /* Mobile header layout: logo left, menu right */
    .header .container {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    /* Mobile navbar - hide all nav items except more-menu */
    .nav ul li:not(.more-menu) {
        display: none;
    }

    .more-menu {
        margin-right: 0;
        margin-left: 0;
    }

    /* Style mobile menu button - override desktop styles */
    .more-menu .more-dots {
        background: #F48033 !important;
        color: #ffffff !important;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: 2px solid #F48033 !important;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        font-size: 18px;
        font-weight: bold;
    }

    /* Make dropdown menu show all items in mobile */
    .more-menu .dropdown-menu {
        right: 0;
        left: auto;
        min-width: 200px;
        background: #F8A762;
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        border-radius: 8px;
        z-index: 1000;
    }

    .more-menu .dropdown-menu li {
        display: block !important;
    }

    .more-menu:hover .dropdown-menu,
    .more-menu:focus .dropdown-menu,
    .more-menu:active .dropdown-menu {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }
    
    
    .schedule h2 {
        font-size: 2rem;
    }
    
    .play-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .program-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .program-image {
        height: 150px;
    }
    
    .program-content {
        padding: 1rem;
    }
    
    .program-content h3 {
        font-size: 1.1rem;
    }
    
    /* Center social media dots in footer */
    .social-links {
        justify-content: center;
    }
}

/* Desktop-specific overrides */
@media (min-width: 769px) {
    .header {
        background: #F8A762 !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
        position: sticky !important;
    }

    .header .container {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        max-width: 1000px !important;
        margin: 0 auto !important;
        padding: 0 20px !important;
    }

    .nav ul li:not(.more-menu) {
        display: block !important;
    }

    .container {
        padding: 0 20px !important;
    }
}

/* Desktop menu button styling */
.more-menu .more-dots {
    background: #ffffff;
    color: #F48033;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
}

/* Hide duplicate items on desktop (show only on mobile) */
@media (min-width: 769px) {
    .more-menu .dropdown-menu .mobile-only {
        display: none !important;
    }
}

/* Contact Page Styles */
.contact-content {
    margin-top: 2rem;
    max-width: 800px;
}

.contact-info {
    display: grid;
    gap: 2rem;
}

.contact-item {
    background: rgba(244, 128, 51, 0.8);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.contact-item i {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.contact-item h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-item p {
    color: #ffffff;
    font-size: 1.1rem;
    line-height: 1.6;
}

.social-links-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(255, 153, 51, 0.3);
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 153, 51, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 153, 51, 0.3);
}

.social-link img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.social-link span {
    font-size: 1.1rem;
    font-weight: 500;
}

@media (min-width: 768px) {
    .contact-info {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
    }
    
    .contact-item:nth-child(3) {
        grid-column: 1 / -1;
    }
    
    .social-links-contact {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .social-link {
        flex: 1;
        min-width: 120px;
        max-width: 150px;
    }
}