/* 
 * Scope Media Production Website Styles
 * Main Stylesheet
 */

 /* ===== Base Styles ===== */
 :root {
     --primary-color: #e63946;
     --secondary-color: #1d3557;
     --accent-color: #457b9d;
     --light-color: #f1faee;
     --dark-color: #1d3557;
     --gray-color: #8d99ae;
     --transition: all 0.3s ease;
 }

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

 html {
     scroll-behavior: smooth;
 }

 body {
     font-family: 'Poppins', sans-serif;
     line-height: 1.6;
     color: #333;
     background-color: #fff;
     direction: ltr;
 }

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

 ul {
     list-style: none;
 }

 img {
     max-width: 100%;
     height: auto;
 }

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

 section {
     padding: 80px 0;
 }

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

 .section-header h2 {
     font-size: 2.5rem;
     color: var(--dark-color);
     margin-bottom: 15px;
     position: relative;
     display: inline-block;
 }

 .section-header h2:after {
     content: '';
     position: absolute;
     width: 50px;
     height: 3px;
     background-color: var(--primary-color);
     bottom: -10px;
     right: 50%;
     transform: translateX(50%);
 }

 .section-header p {
     color: var(--gray-color);
     font-size: 1.1rem;
 }

 .section-footer {
     text-align: center;
     margin-top: 40px;
 }

 /* ===== Language Switcher ===== */
 .lang-switcher {
     display: flex;
     align-items: center;
     margin-right: 20px;
 }

 .lang-switcher .btn {
     padding: 8px 15px;
     font-size: 0.9rem;
     background-color: var(--light-color);
     color: var(--dark-color);
     border-radius: 4px;
     font-weight: 600;
     display: flex;
     align-items: center;
     gap: 5px;
 }

 .lang-switcher .btn:hover {
     background-color: var(--primary-color);
     color: #fff;
 }

 /* ===== Buttons ===== */
 .btn {
     display: inline-block;
     padding: 12px 30px;
     border-radius: 4px;
     font-weight: 600;
     text-align: center;
     cursor: pointer;
     transition: var(--transition);
     border: none;
 }

 .btn-primary {
     background-color: var(--primary-color);
     color: #fff;
 }

 .btn-primary:hover {
     background-color: #d62839;
     transform: translateY(-3px);
 }

 .btn-secondary {
     background-color: transparent;
     color: var(--primary-color);
     border: 2px solid var(--primary-color);
 }

 .btn-secondary:hover {
     background-color: var(--primary-color);
     color: #fff;
     transform: translateY(-3px);
 }

 /* Keep readable secondary style on dark hero background */
 .hero .btn-secondary {
     color: #fff;
     border-color: #fff;
 }
 .hero .btn-secondary:hover {
     background-color: #fff;
     color: var(--dark-color);
 }
.btn-light {
     background-color: #fff;
     color: var(--dark-color);
 }

 .btn-light:hover {
     background-color: var(--light-color);
     transform: translateY(-3px);
 }

 .btn-sm {
     padding: 8px 20px;
     font-size: 0.9rem;
 }

 /* ===== Form Actions ===== */
 .form-actions {
     display: flex;
     justify-content: space-between;
     align-items: center;
     margin-top: 20px;
     gap: 15px;
 }

 .form-actions .btn {
     padding: 12px 25px;
     display: inline-flex;
     align-items: center;
     gap: 8px;
     transition: all 0.3s ease;
 }

 .form-actions .btn-secondary {
     background-color: #f2f2f2;
     color: var(--dark-color);
     border: 1px solid #e0e0e0;
 }

 .form-actions .btn-secondary:hover {
     background-color: #e6e6e6;
     transform: translateY(-2px);
 }

 /* ===== Header ===== */
 header {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     z-index: 1000;
     background-color: rgba(255, 255, 255, 0.95);
     box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
     padding: 15px 0;
     transition: var(--transition);
 }

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

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

 .logo h1 {
     font-size: 1.8rem;
     font-weight: 700;
     color: var(--dark-color);
     letter-spacing: 1px;
 }

 .logo h1 span {
     color: var(--primary-color);
 }

 nav {
     display: flex;
     align-items: center;
 }

 .main-menu {
     display: flex;
 }

 .main-menu li {
     margin-left: 25px;
 }

 .main-menu li:first-child {
     margin-left: 0;
 }

 .main-menu a {
     font-size: 1rem;
     font-weight: 600;
     color: var(--dark-color);
     padding: 10px 0;
     position: relative;
 }

 .main-menu a:after {
     content: '';
     position: absolute;
     width: 0;
     height: 2px;
     background-color: var(--primary-color);
     bottom: 0;
     right: 0;
     transition: var(--transition);
 }

 .main-menu a:hover:after,
 .main-menu a.active:after {
     width: 100%;
 }

 .menu-toggle {
     display: none;
     font-size: 1.5rem;
     cursor: pointer;
     color: var(--dark-color);
 }

 /* ===== Hero Section ===== */
 .hero {
     height: 100vh;
     background: url('../images/hero-bg.jpg') no-repeat center center/cover;
     color: #fff;
     position: relative;
     display: flex;
     align-items: center;
     text-align: center;
 }

 .hero .overlay {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: rgba(29, 53, 87, 0.8);
 }

 .hero-content {
     position: relative;
     z-index: 1;
     max-width: 800px;
     margin: 0 auto;
     padding: 0 15px;
 }

 .hero-content h1 {
     font-size: 3.5rem;
     font-weight: 700;
     margin-bottom: 20px;
     line-height: 1.2;
 }

 .hero-content p {
     font-size: 1.2rem;
     margin-bottom: 30px;
     opacity: 0.9;
 }

 .hero-buttons {
     display: flex;
     justify-content: center;
     gap: 15px;
 }
/* Fallback to ensure spacing if gap isn't applied */
.hero-buttons .btn + .btn {
    margin-inline-start: 15px;
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .hero-buttons .btn + .btn {
        margin-inline-start: 0;
        margin-top: 10px;
    }
}

 /* ===== Services Section ===== */
 .services {
     background-color: var(--light-color);
 }

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

 .service-card {
     background-color: #fff;
     border-radius: 8px;
     padding: 30px;
     text-align: center;
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
     transition: var(--transition);
 }

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

 .service-icon {
     width: 70px;
     height: 70px;
     background-color: var(--primary-color);
     color: #fff;
     border-radius: 50%;
     display: flex;
     justify-content: center;
     align-items: center;
     margin: 0 auto 20px;
     font-size: 1.8rem;
 }

 .service-card h3 {
     font-size: 1.5rem;
     margin-bottom: 15px;
     color: var(--dark-color);
 }

 .service-card p {
     color: var(--gray-color);
 }

 /* ===== Portfolio Section ===== */
 .portfolio-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
     gap: 30px;
 }

 .portfolio-item {
     position: relative;
     border-radius: 8px;
     overflow: hidden;
     height: 250px;
 }

 .portfolio-item img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     transition: var(--transition);
 }

 .portfolio-overlay {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: rgba(29, 53, 87, 0.8);
     display: flex;
     justify-content: center;
     align-items: center;
     opacity: 0;
     transition: var(--transition);
 }

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

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

 .portfolio-info {
     text-align: center;
     color: #fff;
 }

 .portfolio-info h3 {
     font-size: 1.5rem;
     margin-bottom: 5px;
 }

 .portfolio-info p {
     margin-bottom: 15px;
     opacity: 0.8;
 }

 /* ===== Testimonials Section ===== */
 .testimonials {
     background-color: var(--light-color);
 }

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

 .testimonial-item {
     background-color: #fff;
     border-radius: 8px;
     padding: 30px;
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
 }

 .testimonial-content {
     margin-bottom: 20px;
 }

 .testimonial-content p {
     font-style: italic;
     color: var(--gray-color);
     line-height: 1.8;
 }

 .testimonial-author {
     display: flex;
     align-items: center;
 }

 .testimonial-author img {
     width: 60px;
     height: 60px;
     border-radius: 50%;
     object-fit: cover;
     margin-right: 15px;
 }

 .author-info h4 {
     font-size: 1.1rem;
     color: var(--dark-color);
     margin-bottom: 5px;
 }

 .author-info p {
     font-size: 0.9rem;
     color: var(--gray-color);
 }

 /* ===== Call to Action Section ===== */
 .cta {
     background: linear-gradient(to left, var(--primary-color), var(--accent-color));
     color: #fff;
     text-align: center;
     padding: 60px 0;
 }

 .cta-content h2 {
     font-size: 2.5rem;
     margin-bottom: 15px;
 }

 .cta-content p {
     font-size: 1.2rem;
     margin-bottom: 30px;
     opacity: 0.9;
 }

 /* ===== Footer Section ===== */
 footer {
     background-color: var(--dark-color);
     color: #fff;
     padding: 70px 0 20px;
 }

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

 .footer-about h3,
 .footer-links h3,
 .footer-contact h3 {
     font-size: 1.5rem;
     margin-bottom: 20px;
     color: #fff;
 }

 .footer-about p {
     margin-bottom: 20px;
     opacity: 0.8;
     line-height: 1.8;
 }

 .social-links {
     display: flex;
     gap: 15px;
 }

 .social-links a {
     display: flex;
     justify-content: center;
     align-items: center;
     width: 40px;
     height: 40px;
     background-color: rgba(255, 255, 255, 0.1);
     border-radius: 50%;
     color: #fff;
     transition: var(--transition);
 }

 .social-links a:hover {
     background-color: var(--primary-color);
     transform: translateY(-3px);
 }

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

 .footer-links ul li a {
     color: rgba(255, 255, 255, 0.8);
     transition: var(--transition);
 }

 .footer-links ul li a:hover {
     color: var(--primary-color);
     padding-left: 5px;
 }

 .footer-contact p {
     margin-bottom: 15px;
     display: flex;
     align-items: center;
     opacity: 0.8;
 }

 .footer-contact p i {
     margin-right: 10px;
     color: var(--primary-color);
 }

 .footer-bottom {
     text-align: center;
     padding-top: 20px;
     border-top: 1px solid rgba(255, 255, 255, 0.1);
     font-size: 0.9rem;
     opacity: 0.7;
 }

 /* ===== Responsive Styles ===== */
 @media (max-width: 992px) {
     .hero-content h1 {
         font-size: 2.8rem;
     }
 }

 @media (max-width: 768px) {
     .menu-toggle {
         display: block;
     }

     .main-menu {
         position: absolute;
         top: 100%;
         left: 0;
         width: 100%;
         background-color: #fff;
         flex-direction: column;
         align-items: center;
         padding: 20px 0;
         box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
         transform: translateY(-150%);
         opacity: 0;
         visibility: hidden;
         transition: var(--transition);
     }

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

     .main-menu li {
         margin: 10px 0;
     }

     .hero-content h1 {
         font-size: 2.2rem;
     }

     .hero-content p {
         font-size: 1rem;
     }

     .hero-buttons {
         flex-direction: column;
         gap: 10px;
     }

     .hero-buttons .btn {
         width: 100%;
     }

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

 @media (max-width: 576px) {
     section {
         padding: 60px 0;
     }

     .hero-content h1 {
         font-size: 1.8rem;
     }

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

     .footer-content {
         grid-template-columns: 1fr;
     }
 }
/* Phone link color override */
a[href^="tel:"] {
  color: #fff !important;
}
a[href^="tel:"]:visited {
  color: #fff !important;
}
a[href^="tel:"]:hover,
a[href^="tel:"]:focus {
  color: #fff !important;
}